From 8c63b7fdc49e068c277361c8abbbd6deb365e52f Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 18 Aug 2019 09:16:13 +0200 Subject: [PATCH] Small behavior improvement --- app/src/main/java/eu/faircode/email/AdapterMessage.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index 5467c9b8b7..56927f58f4 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -894,9 +894,8 @@ public class AdapterMessage extends RecyclerView.Adapter 0 ? message.color == null || !ActivityBilling.isPro(context) ? colorAccent : message.color : textColorSecondary)); - ivFlagged.setVisibility(flags && !message.folderReadOnly - ? (message.uid == null ? View.INVISIBLE : View.VISIBLE) - : View.GONE); + ivFlagged.setVisibility(flags && !message.folderReadOnly ? View.VISIBLE : View.GONE); + ivFlagged.setEnabled(message.uid != null); } private void bindContactInfo(ContactInfo info, TupleMessageEx message) {