mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-01 17:26:12 +00:00
Prevent NPE
This commit is contained in:
parent
44636c9d03
commit
65e214fc47
1 changed files with 3 additions and 0 deletions
|
@ -2673,6 +2673,9 @@ public class FragmentCompose extends FragmentBase {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onExecuted(Bundle args, String completion) {
|
protected void onExecuted(Bundle args, String completion) {
|
||||||
|
if (completion == null)
|
||||||
|
return;
|
||||||
|
|
||||||
Editable edit = etBody.getText();
|
Editable edit = etBody.getText();
|
||||||
int start = etBody.getSelectionStart();
|
int start = etBody.getSelectionStart();
|
||||||
int end = etBody.getSelectionEnd();
|
int end = etBody.getSelectionEnd();
|
||||||
|
|
Loading…
Reference in a new issue