mirror of https://github.com/M66B/FairEmail.git
Fixed occasional crash after navigating from new messages notifiction
This commit is contained in:
parent
7f306d3af3
commit
1ea4031228
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue