Fixed resume creating new message

The fragment might be paused before a new draft was created
This commit is contained in:
M66B
2018-09-12 10:07:36 +00:00
parent 0d64afa4c7
commit 075377e8f3

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