Fixed updating draft when encryption needed

This commit is contained in:
M66B 2020-09-11 12:35:21 +02:00
parent cb3a155ebc
commit 75ee3d5fe3
1 changed files with 1 additions and 0 deletions

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;
}