1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +00:00

Selectively notify connectivity updates

This commit is contained in:
M66B 2020-04-17 08:58:40 +02:00
parent d3cd3b85de
commit a141276e5f

View file

@ -5065,7 +5065,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if (list != null)
for (int i = 0; i < list.size(); i++) {
TupleMessageEx message = list.get(i);
if (message != null && properties.getValue("expanded", message.id))
if (message != null &&
(!message.content || message.attachments > 0) &&
properties.getValue("expanded", message.id))
notifyItemChanged(i);
}
}