Browse Source

Fixed resume creating new message

The fragment might be paused before a new draft was created
main
M66B 5 years ago
parent
commit
075377e8f3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/eu/faircode/email/FragmentCompose.java

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

@ -371,7 +371,7 @@ public class FragmentCompose extends FragmentEx {
} else {
long id = savedInstanceState.getLong("working");
Bundle args = new Bundle();
args.putString("action", "edit");
args.putString("action", id < 0 ? "new" : "edit");
args.putLong("id", id);
args.putLong("account", -1);
args.putLong("reference", -1);


Loading…
Cancel
Save