mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 16:43:26 +02:00
Prevent crash
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user