mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 16:16:33 +02:00
No authentication indicator when no authentication
This commit is contained in:
@@ -1048,13 +1048,11 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
ibAuth.setImageLevel(0);
|
||||
ibAuth.setImageTintList(ColorStateList.valueOf(colorWarning));
|
||||
ibAuth.setVisibility(View.VISIBLE);
|
||||
} else if (authentication_indicator &&
|
||||
!EntityFolder.DRAFTS.equals(message.folderType) &&
|
||||
!EntityFolder.OUTBOX.equals(message.folderType)) {
|
||||
} else if (authentication_indicator) {
|
||||
ibAuth.setImageLevel(auths + 1);
|
||||
ibAuth.setImageTintList(ColorStateList.valueOf(
|
||||
auths < 3 ? colorControlNormal : colorVerified));
|
||||
ibAuth.setVisibility(View.VISIBLE);
|
||||
ibAuth.setVisibility(auths > 0 ? View.VISIBLE : View.GONE);
|
||||
} else
|
||||
ibAuth.setVisibility(View.GONE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user