mirror of https://github.com/M66B/FairEmail.git
Fixed resume creating new message
The fragment might be paused before a new draft was created
This commit is contained in:
parent
0d64afa4c7
commit
075377e8f3
|
@ -371,7 +371,7 @@ public class FragmentCompose extends FragmentEx {
|
||||||
} else {
|
} else {
|
||||||
long id = savedInstanceState.getLong("working");
|
long id = savedInstanceState.getLong("working");
|
||||||
Bundle args = new Bundle();
|
Bundle args = new Bundle();
|
||||||
args.putString("action", "edit");
|
args.putString("action", id < 0 ? "new" : "edit");
|
||||||
args.putLong("id", id);
|
args.putLong("id", id);
|
||||||
args.putLong("account", -1);
|
args.putLong("account", -1);
|
||||||
args.putLong("reference", -1);
|
args.putLong("reference", -1);
|
||||||
|
|
Loading…
Reference in New Issue