1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-15 08:29:24 +00:00

Prevent crash

This commit is contained in:
M66B 2022-04-25 16:17:41 +02:00
parent 8a44a95289
commit 164d169457

View file

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