mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 13:44:40 +00:00
Prevent NPE
This commit is contained in:
parent
e08b83bf03
commit
5d46f5b693
1 changed files with 2 additions and 0 deletions
|
@ -127,6 +127,8 @@ public class EditTextMultiAutoComplete extends AppCompatMultiAutoCompleteTextVie
|
|||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
if (edit == null)
|
||||
return;
|
||||
ClipImageSpan[] spans = edit.getSpans(backspace, backspace, ClipImageSpan.class);
|
||||
if (spans.length == 1) {
|
||||
int start = edit.getSpanStart(spans[0]);
|
||||
|
|
Loading…
Reference in a new issue