mirror of https://github.com/M66B/FairEmail.git
Small fix
This commit is contained in:
parent
b23100bea5
commit
92bc7a72c8
|
@ -1481,6 +1481,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
if (amessage == null || !amessage.id.equals(id))
|
||||
return;
|
||||
|
||||
boolean show_expanded = properties.getValue("expanded", message.id);
|
||||
if (!show_expanded)
|
||||
return;
|
||||
|
||||
boolean hasArchive = false;
|
||||
boolean hasTrash = false;
|
||||
boolean hasJunk = false;
|
||||
|
@ -2049,6 +2053,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
if (amessage == null || !amessage.id.equals(id))
|
||||
return;
|
||||
|
||||
boolean show_expanded = properties.getValue("expanded", message.id);
|
||||
if (!show_expanded)
|
||||
return;
|
||||
|
||||
if (icalendar == null ||
|
||||
icalendar.getMethod() == null ||
|
||||
icalendar.getEvents().size() == 0) {
|
||||
|
|
Loading…
Reference in New Issue