Browse Source

Enabled autosave after loading draft

main
M66B 6 years ago
parent
commit
0d64afa4c7
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app/src/main/java/eu/faircode/email/FragmentCompose.java

+ 2
- 1
app/src/main/java/eu/faircode/email/FragmentCompose.java View File

@ -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);


Loading…
Cancel
Save