Dialog on compose home

pull/147/head
M66B 7 years ago
parent b9ee6403f5
commit 32651f48f8

@ -184,7 +184,7 @@ public class ActivityCompose extends ActivityBilling implements FragmentManager.
switch (item.getItemId()) { switch (item.getItemId()) {
case android.R.id.home: case android.R.id.home:
if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.RESUMED)) if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.RESUMED))
getSupportFragmentManager().popBackStack(); onBackPressed();
return true; return true;
default: default:
return false; return false;

Loading…
Cancel
Save