From 1ea40312282e0f395ebad88a331f53c9b7a44a7d Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 13 Sep 2018 05:03:38 +0000 Subject: [PATCH] Fixed occasional crash after navigating from new messages notifiction --- app/src/main/java/eu/faircode/email/ActivityView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ActivityView.java b/app/src/main/java/eu/faircode/email/ActivityView.java index ba6ffd26..6200e09c 100644 --- a/app/src/main/java/eu/faircode/email/ActivityView.java +++ b/app/src/main/java/eu/faircode/email/ActivityView.java @@ -377,7 +377,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB if (newMessages) { newMessages = false; FragmentManager fm = getSupportFragmentManager(); - fm.popBackStack("unified", 0); + fm.popBackStackImmediate("unified", 0); FragmentMessages fragment = (FragmentMessages) fm.findFragmentById(R.id.content_frame); fragment.onNewMessages(); }