Small fix

This commit is contained in:
M66B 2020-03-07 16:41:30 +01:00
parent b23100bea5
commit 92bc7a72c8
1 changed files with 8 additions and 0 deletions

View File

@ -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) {