diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 4f59aa9a12..e2c8a31034 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -5288,7 +5288,16 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences. if (collapse_multiple && expanded > 0 && count > 1) { values.get("expanded").clear(); updateExpanded(); - adapter.notifyDataSetChanged(); + rvMessage.post(new Runnable() { + @Override + public void run() { + try { + adapter.notifyDataSetChanged(); + } catch (Throwable ex) { + Log.e(ex); + } + } + }); return true; }