Browse Source

Clean backstack on view thread from notification

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

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

@ -463,6 +463,8 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
if (action != null && action.startsWith("thread")) {
intent.setAction(null);
setIntent(intent);
getSupportFragmentManager().popBackStack("unified", 0);
intent.putExtra("id", Long.parseLong(action.split(":")[1]));
onViewThread(intent);
}


Loading…
Cancel
Save