Back fixes

This commit is contained in:
M66B
2019-10-04 16:57:40 +02:00
parent 264b957c73
commit 1c0f5382f5
6 changed files with 15 additions and 42 deletions

View File

@@ -582,14 +582,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
if (drawerToggle.onOptionsItemSelected(item))
return true;
switch (item.getItemId()) {
case android.R.id.home:
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
getSupportFragmentManager().popBackStack();
return true;
default:
return false;
}
return super.onOptionsItemSelected(item);
}
private void checkFirst() {