Browse Source

Fixed occasional crash after navigating from new messages notifiction

main
M66B 6 years ago
parent
commit
1ea4031228
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/eu/faircode/email/ActivityView.java

+ 1
- 1
app/src/main/java/eu/faircode/email/ActivityView.java View File

@ -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