1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 09:47:13 +00:00

Prevent exception

This commit is contained in:
M66B 2022-07-23 16:52:10 +02:00
parent 008469569e
commit f3558b28aa

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