mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 03:46:00 +01:00
Keep active setup in recent apps screen
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user