From eb9cc20d356622d8b11bb6a22bbb7c9c6922eabf Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 24 Jan 2019 07:14:37 +0000 Subject: [PATCH] Allow marking drafts seen/unseen --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 89eccda4ba..6e50823fbb 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -858,9 +858,9 @@ public class FragmentMessages extends FragmentBase { protected void onExecuted(Bundle args, final MoreResult result) { PopupMenu popupMenu = new PopupMenu(getContext(), fabMore); - if (result.unseen && !result.isDrafts) // Unseen, not draft + if (result.unseen) // Unseen, not draft popupMenu.getMenu().add(Menu.NONE, action_seen, 1, R.string.title_seen); - if (result.seen && !result.isDrafts) // Seen, not draft + if (result.seen) // Seen, not draft popupMenu.getMenu().add(Menu.NONE, action_unseen, 2, R.string.title_unseen); popupMenu.getMenu().add(Menu.NONE, action_snooze, 3, R.string.title_snooze);