From 30e0d33edae1c2d0d0c2a7325e5f453ec6ca3a23 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 1 Dec 2018 14:34:53 +0100 Subject: [PATCH] Drafts should not be auto expanded --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 576a24dbf9..fe91fa7683 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -1400,7 +1400,9 @@ public class FragmentMessages extends FragmentEx { TupleMessageEx single = null; TupleMessageEx see = null; for (TupleMessageEx message : messages) { - if (!message.duplicate && !EntityFolder.TRASH.equals(message.folderType)) { + if (!message.duplicate && + !EntityFolder.DRAFTS.equals(message.folderType) && + !EntityFolder.TRASH.equals(message.folderType)) { count++; single = message; if (!message.ui_seen) {