Prevent exception

pull/209/head
M66B 2 years ago
parent 008469569e
commit f3558b28aa

@ -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) {

Loading…
Cancel
Save