mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-15 08:29:24 +00:00
Prevent crash
This commit is contained in:
parent
8a44a95289
commit
164d169457
1 changed files with 3 additions and 1 deletions
|
@ -755,7 +755,9 @@ public class FragmentCompose extends FragmentBase {
|
|||
if (renum)
|
||||
StyleHelper.renumber(text, false, etBody.getContext());
|
||||
|
||||
if (save && auto_save) {
|
||||
if (save && auto_save &&
|
||||
getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED)) {
|
||||
|
||||
etBody.setTag(null);
|
||||
|
||||
Bundle extras = new Bundle();
|
||||
|
|
Loading…
Add table
Reference in a new issue