mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 23:26:12 +02:00
Suppress inbox folder name in unified inbox in compact mode
This commit is contained in:
@@ -556,7 +556,11 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
: message.folderDisplay);
|
||||
tvFolder.setText((compact ? "" : message.accountName + "/") + folderName);
|
||||
}
|
||||
tvFolder.setVisibility(viewType == ViewType.FOLDER && compact ? View.GONE : View.VISIBLE);
|
||||
tvFolder.setVisibility(compact &&
|
||||
(!threading ||
|
||||
viewType == ViewType.FOLDER ||
|
||||
(viewType == ViewType.UNIFIED && EntityFolder.INBOX.equals(message.folderType)))
|
||||
? View.GONE : View.VISIBLE);
|
||||
|
||||
if (viewType == ViewType.THREAD || !threading) {
|
||||
tvCount.setVisibility(View.GONE);
|
||||
|
||||
Reference in New Issue
Block a user