mirror of https://github.com/M66B/FairEmail.git
Small back nav fix
This commit is contained in:
parent
429837e87f
commit
442efbd7ef
|
@ -439,6 +439,11 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
|
|||
if (drawerLayout.isDrawerOpen(drawerContainer))
|
||||
drawerLayout.closeDrawer(drawerContainer);
|
||||
else {
|
||||
if (getSupportFragmentManager().getBackStackEntryCount() > 1) {
|
||||
performBack();
|
||||
return;
|
||||
}
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
boolean setup_reminder = prefs.getBoolean("setup_reminder", true);
|
||||
|
||||
|
|
Loading…
Reference in New Issue