mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 10:17:18 +00:00
Keep just one message list on back stack
This commit is contained in:
parent
8d7916af04
commit
109beb3aae
1 changed files with 3 additions and 0 deletions
|
@ -1120,6 +1120,9 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|||
};
|
||||
|
||||
private void onViewMessages(Intent intent) {
|
||||
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.RESUMED))
|
||||
getSupportFragmentManager().popBackStack("messages", FragmentManager.POP_BACK_STACK_INCLUSIVE);
|
||||
|
||||
Bundle args = new Bundle();
|
||||
args.putLong("account", intent.getLongExtra("account", -1));
|
||||
args.putLong("folder", intent.getLongExtra("folder", -1));
|
||||
|
|
Loading…
Reference in a new issue