mirror of https://github.com/M66B/FairEmail.git
Dialog on compose home
This commit is contained in:
parent
b9ee6403f5
commit
32651f48f8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue