mirror of https://github.com/M66B/FairEmail.git
Show seen state of duplicate messages
This commit is contained in:
parent
16e9c9fbbe
commit
930921f500
|
@ -3925,6 +3925,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
TupleMessageEx message = differ.getItem(position);
|
TupleMessageEx message = differ.getItem(position);
|
||||||
if (filter_duplicates && message != null && message.duplicate) {
|
if (filter_duplicates && message != null && message.duplicate) {
|
||||||
holder.tvFolder.setText(context.getString(R.string.title_duplicate_in, message.getFolderName(context)));
|
holder.tvFolder.setText(context.getString(R.string.title_duplicate_in, message.getFolderName(context)));
|
||||||
|
holder.tvFolder.setTypeface(message.unseen > 0 ? Typeface.DEFAULT_BOLD : Typeface.DEFAULT);
|
||||||
|
holder.tvFolder.setTextColor(message.unseen > 0 ? colorUnread : textColorSecondary);
|
||||||
holder.tvFolder.setAlpha(Helper.LOW_LIGHT);
|
holder.tvFolder.setAlpha(Helper.LOW_LIGHT);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue