From 0d64afa4c7696d121e3a28943ac465bc4ad852f3 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 12 Sep 2018 09:51:48 +0000 Subject: [PATCH] Enabled autosave after loading draft --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index f8bc482d..591a9311 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -117,7 +117,7 @@ public class FragmentCompose extends FragmentEx { private long working = -1; private boolean free = false; private boolean addresses; - private boolean autosave = true; + private boolean autosave = false; @Override @Nullable @@ -869,6 +869,7 @@ public class FragmentCompose extends FragmentEx { @Override protected void onLoaded(Bundle args, final EntityMessage draft) { working = draft.id; + autosave = true; final String action = getArguments().getString("action"); Log.i(Helper.TAG, "Loaded draft id=" + draft.id + " action=" + action);