mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
0d162c82ea
commit
5ab676b54c
|
@ -1346,7 +1346,7 @@ public class FragmentCompose extends FragmentBase {
|
||||||
outState.putParcelable("fair:pickUri", pickUri);
|
outState.putParcelable("fair:pickUri", pickUri);
|
||||||
|
|
||||||
// Focus was lost at this point
|
// Focus was lost at this point
|
||||||
outState.putInt("fair:selection", etBody.getSelectionStart());
|
outState.putInt("fair:selection", etBody == null ? 0 : etBody.getSelectionStart());
|
||||||
|
|
||||||
super.onSaveInstanceState(outState);
|
super.onSaveInstanceState(outState);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue