mirror of https://github.com/M66B/FairEmail.git
Show folder type icons for found messages
This commit is contained in:
parent
1bbd7e6f5e
commit
ea399c2ba0
|
@ -801,6 +801,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
: EntityFolder.getIcon(outgoing ? EntityFolder.SENT : message.folderType));
|
||||
ivType.setVisibility(message.drafts > 0 ||
|
||||
(viewType == ViewType.UNIFIED && type == null && !inbox) ||
|
||||
viewType == ViewType.SEARCH ||
|
||||
(viewType == ViewType.THREAD && (outgoing || EntityFolder.SENT.equals(message.folderType)))
|
||||
? View.VISIBLE : View.GONE);
|
||||
if (ivType.getTag() == null || (int) ivType.getTag() != icon) {
|
||||
|
|
Loading…
Reference in New Issue