Browse Source

Fixed showing unread

main
M66B 6 years ago
parent
commit
10d20cfcf3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/eu/faircode/email/AdapterMessage.java

+ 1
- 1
app/src/main/java/eu/faircode/email/AdapterMessage.java View File

@ -242,7 +242,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
} else
holder.tvCount.setText(Helper.localizeFolderName(context, message.folderName));
boolean unseen = (message.thread == null ? !message.seen : message.unseen > 0);
boolean unseen = (message.thread == null ? message.unseen > 0 : !message.seen);
int visibility = (unseen ? Typeface.BOLD : Typeface.NORMAL);
holder.tvFrom.setTypeface(null, visibility);
holder.tvTime.setTypeface(null, visibility);


Loading…
Cancel
Save