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:
parent
d3cd3b85de
commit
a141276e5f
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue