Fixed resume creating new message

The fragment might be paused before a new draft was created
pull/125/head
M66B 6 years ago
parent 0d64afa4c7
commit 075377e8f3

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