Prevent exception

This commit is contained in:
M66B 2022-07-23 16:52:10 +02:00
parent 008469569e
commit f3558b28aa
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ public class EditTextMultiAutoComplete extends AppCompatMultiAutoCompleteTextVie
@Override
public void run() {
try {
if (edit == null)
if (edit == null || backspace == null)
return;
ClipImageSpan[] spans = edit.getSpans(backspace, backspace, ClipImageSpan.class);
if (spans.length == 1) {