mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-18 21:28:54 +00:00
Mark sent messages in conversations
This commit is contained in:
parent
d784a0e494
commit
f77cf6c029
1 changed files with 2 additions and 1 deletions
|
@ -631,7 +631,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
ivType.setImageResource(message.drafts > 0
|
||||
? R.drawable.baseline_edit_24 : EntityFolder.getIcon(message.folderType));
|
||||
ivType.setVisibility(message.drafts > 0 ||
|
||||
(viewType == ViewType.UNIFIED && !EntityFolder.INBOX.equals(message.folderType))
|
||||
(viewType == ViewType.UNIFIED && !EntityFolder.INBOX.equals(message.folderType)) ||
|
||||
(viewType == ViewType.THREAD && EntityFolder.SENT.equals(message.folderType))
|
||||
? View.VISIBLE : View.GONE);
|
||||
ivSnoozed.setVisibility(message.ui_snoozed == null ? View.GONE : View.VISIBLE);
|
||||
ivBrowsed.setVisibility(message.ui_browsed ? View.VISIBLE : View.GONE);
|
||||
|
|
Loading…
Reference in a new issue