mirror of https://github.com/M66B/FairEmail.git
Disable labels for trash and junk
This commit is contained in:
parent
73cc195274
commit
457f7470b4
|
@ -1579,7 +1579,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
message.accountProtocol == EntityAccount.TYPE_IMAP ? View.VISIBLE : View.GONE);
|
||||
ibUnsubscribe.setVisibility(tools && button_unsubscribe && message.unsubscribe != null ? View.VISIBLE : View.GONE);
|
||||
ibAnswer.setVisibility(!tools || outbox || (!expand_all && expand_one) ? View.GONE : View.VISIBLE);
|
||||
ibLabels.setVisibility(tools && labels_header && labels && !outbox ? View.VISIBLE : View.GONE);
|
||||
ibLabels.setVisibility(tools && labels_header && labels && !inTrash && !inJunk && !outbox ? View.VISIBLE : View.GONE);
|
||||
ibCopy.setVisibility(tools && button_copy && move ? View.VISIBLE : View.GONE);
|
||||
ibMove.setVisibility(tools && button_move && move ? View.VISIBLE : View.GONE);
|
||||
ibArchive.setVisibility(tools && button_archive && archive ? View.VISIBLE : View.GONE);
|
||||
|
|
Loading…
Reference in New Issue