mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-27 16:10:58 +01:00
Fixed occasional crash after navigating from new messages notifiction
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user