mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 00:53:26 +02:00
Hide authentication for drafts and outbox
This commit is contained in:
@@ -1046,7 +1046,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
ibAuth.setImageLevel(0);
|
||||
ibAuth.setImageTintList(ColorStateList.valueOf(colorWarning));
|
||||
ibAuth.setVisibility(View.VISIBLE);
|
||||
} else if (authentication_indicator) {
|
||||
} else if (authentication_indicator &&
|
||||
!EntityFolder.DRAFTS.equals(message.folderType) &&
|
||||
!EntityFolder.OUTBOX.equals(message.folderType)) {
|
||||
ibAuth.setImageLevel(auths + 1);
|
||||
ibAuth.setImageTintList(ColorStateList.valueOf(
|
||||
auths < 3 ? colorSeparator : colorControlNormal));
|
||||
|
||||
Reference in New Issue
Block a user