Fixed occasional crash after navigating from new messages notifiction

pull/125/head
M66B 6 years ago
parent 7f306d3af3
commit 1ea4031228

@ -377,7 +377,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
if (newMessages) { if (newMessages) {
newMessages = false; newMessages = false;
FragmentManager fm = getSupportFragmentManager(); FragmentManager fm = getSupportFragmentManager();
fm.popBackStack("unified", 0); fm.popBackStackImmediate("unified", 0);
FragmentMessages fragment = (FragmentMessages) fm.findFragmentById(R.id.content_frame); FragmentMessages fragment = (FragmentMessages) fm.findFragmentById(R.id.content_frame);
fragment.onNewMessages(); fragment.onNewMessages();
} }

Loading…
Cancel
Save