From 4b077423fe6f8f6721fed9c54f61352cbacdef16 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 6 Mar 2020 07:45:30 +0100 Subject: [PATCH] Set seen/unseen button when downloading --- .../eu/faircode/email/AdapterMessage.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index c6e2fe492f..2b6ca8521e 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -1481,6 +1481,16 @@ public class AdapterMessage extends RecyclerView.Adapter= Build.VERSION_CODES.O) + ibSeen.setTooltipText(context.getString(message.ui_seen + ? R.string.title_unseen : R.string.title_seen)); + ibSeen.setVisibility(message.folderReadOnly || message.uid == null + ? View.GONE : View.VISIBLE); + if (!message.content) return; @@ -1619,16 +1629,6 @@ public class AdapterMessage extends RecyclerView.Adapter= Build.VERSION_CODES.O) - ibSeen.setTooltipText(context.getString(message.ui_seen - ? R.string.title_unseen : R.string.title_seen)); - ibSeen.setVisibility(message.folderReadOnly || message.uid == null - ? View.GONE : View.VISIBLE); - final Bundle args = new Bundle(); args.putSerializable("message", message); args.putBoolean("show_full", show_full);