mirror of https://github.com/M66B/FairEmail.git
prevent crash
This commit is contained in:
parent
22121806f1
commit
c473c41143
|
@ -1218,6 +1218,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
ibAvatar.setTag(lookupUri);
|
ibAvatar.setTag(lookupUri);
|
||||||
ibAvatar.setEnabled(lookupUri != null);
|
ibAvatar.setEnabled(lookupUri != null);
|
||||||
|
|
||||||
|
if (addresses == null)
|
||||||
|
return;
|
||||||
|
|
||||||
boolean known = false;
|
boolean known = false;
|
||||||
boolean updated = false;
|
boolean updated = false;
|
||||||
Address[] modified = Arrays.copyOf(addresses, addresses.length);
|
Address[] modified = Arrays.copyOf(addresses, addresses.length);
|
||||||
|
|
Loading…
Reference in New Issue