mirror of https://github.com/M66B/FairEmail.git
Small optimization
This commit is contained in:
parent
750d6cb860
commit
3cfd772f76
|
@ -1128,7 +1128,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
if (show_recipients && recipients != null)
|
if (show_recipients && recipients != null)
|
||||||
all.addAll(Arrays.asList(recipients));
|
all.addAll(Arrays.asList(recipients));
|
||||||
ContactInfo[] info = ContactInfo.getCached(context, message.account, message.folderType, all.toArray(new Address[0]));
|
ContactInfo[] info = ContactInfo.getCached(context, message.account, message.folderType, all.toArray(new Address[0]));
|
||||||
if (info == null) {
|
if (info == null && avatars) {
|
||||||
if (taskContactInfo != null)
|
if (taskContactInfo != null)
|
||||||
taskContactInfo.cancel(context);
|
taskContactInfo.cancel(context);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue