prevent crash

pull/174/head
M66B 5 years ago
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…
Cancel
Save