Dialog on compose home

This commit is contained in:
M66B 2019-02-05 19:15:45 +00:00
parent b9ee6403f5
commit 32651f48f8
1 changed files with 1 additions and 1 deletions

View File

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