mirror of https://github.com/M66B/FairEmail.git
Fixed updating draft when encryption needed
This commit is contained in:
parent
cb3a155ebc
commit
75ee3d5fe3
|
@ -4382,6 +4382,7 @@ public class FragmentCompose extends FragmentBase {
|
||||||
boolean autosave = extras.getBoolean("autosave");
|
boolean autosave = extras.getBoolean("autosave");
|
||||||
if (needsEncryption && !autosave) {
|
if (needsEncryption && !autosave) {
|
||||||
args.putBoolean("needsEncryption", true);
|
args.putBoolean("needsEncryption", true);
|
||||||
|
db.setTransactionSuccessful();
|
||||||
return draft;
|
return draft;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue