mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 10:03:51 +02:00
Selectively notify connectivity updates
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user