From 54ae31ef7d7c6acdd78f7c5bc24b71cd1681c656 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 27 Nov 2021 16:08:01 +0100 Subject: [PATCH] Mark drafts as seen when needed --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index 876dc04532..e449b8e05c 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -4949,6 +4949,9 @@ public class FragmentCompose extends FragmentBase { } else { args.putBoolean("saved", true); + if (!data.draft.ui_seen) + EntityOperation.queue(context, data.draft, EntityOperation.SEEN, true); + // External draft if (data.draft.identity == null) { for (EntityIdentity identity : data.identities)