Prevent crash

pull/207/head
M66B 3 years ago
parent 0d162c82ea
commit 5ab676b54c

@ -1346,7 +1346,7 @@ public class FragmentCompose extends FragmentBase {
outState.putParcelable("fair:pickUri", pickUri);
// Focus was lost at this point
outState.putInt("fair:selection", etBody.getSelectionStart());
outState.putInt("fair:selection", etBody == null ? 0 : etBody.getSelectionStart());
super.onSaveInstanceState(outState);
}

Loading…
Cancel
Save