Hide authentication for drafts and outbox

This commit is contained in:
M66B 2021-07-21 21:28:43 +02:00
parent 03823a34ff
commit 0ff48a1baf
1 changed files with 3 additions and 1 deletions

View File

@ -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));