Keep active setup in recent apps screen

This commit is contained in:
M66B
2022-09-24 19:43:39 +02:00
parent 54206988f1
commit 3bc22dc90b
6 changed files with 4 additions and 12 deletions

View File

@@ -470,9 +470,11 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
public void onBackStackChanged() {
int count = getSupportFragmentManager().getBackStackEntryCount();
if (count == 0) {
if (hasAccount)
if (hasAccount) {
startActivity(new Intent(this, ActivityView.class));
finish();
finishAndRemoveTask();
} else
finish();
} else {
if (drawerLayout.isDrawerOpen(drawerContainer))
drawerLayout.closeDrawer(drawerContainer);