From 5ba764f01063db944696468dfee56f178855dbdf Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 1 Jun 2019 08:03:12 +0200 Subject: [PATCH] Small fix --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index fbf205c2e2..75e82a4b32 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -2069,7 +2069,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences. db.message().liveHidden(account, thread).observe(getViewLifecycleOwner(), new Observer>() { @Override public void onChanged(List ids) { - if (ids != null) + if (ids != null) { for (long id : ids) { Log.i("Hidden id=" + id); for (String key : values.keySet()) @@ -2077,6 +2077,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences. bodies.remove(id); attachments.remove(id); } + updateExpanded(); + } } }); break;