mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-05 04:19:21 +01:00
Fixed crash
This commit is contained in:
@@ -429,7 +429,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
|
||||
ContactInfo info = ContactInfo.get(context, addresses);
|
||||
|
||||
if ((info == null || !info.hasPhoto()) && identicons) {
|
||||
if ((info == null || !info.hasPhoto()) &&
|
||||
identicons && addresses != null && addresses.length > 0) {
|
||||
Drawable ident = new BitmapDrawable(
|
||||
context.getResources(),
|
||||
Identicon.generate(addresses[0].toString(),
|
||||
|
||||
Reference in New Issue
Block a user