1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 01:36:55 +00:00

Fixed updating draft when encryption needed

This commit is contained in:
M66B 2020-09-11 12:35:21 +02:00
parent cb3a155ebc
commit 75ee3d5fe3

View file

@ -4382,6 +4382,7 @@ public class FragmentCompose extends FragmentBase {
boolean autosave = extras.getBoolean("autosave");
if (needsEncryption && !autosave) {
args.putBoolean("needsEncryption", true);
db.setTransactionSuccessful();
return draft;
}