Prevent crash

pull/207/head
M66B 3 years ago
parent 8a44a95289
commit 164d169457

@ -755,7 +755,9 @@ public class FragmentCompose extends FragmentBase {
if (renum) if (renum)
StyleHelper.renumber(text, false, etBody.getContext()); StyleHelper.renumber(text, false, etBody.getContext());
if (save && auto_save) { if (save && auto_save &&
getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED)) {
etBody.setTag(null); etBody.setTag(null);
Bundle extras = new Bundle(); Bundle extras = new Bundle();

Loading…
Cancel
Save