Navigation fix

This commit is contained in:
M66B 2018-08-05 16:36:38 +00:00
parent d6363b7f81
commit 7c7395a92e
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ public class ActivityCompose extends ActivityBase implements FragmentManager.OnB
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case android.R.id.home:
finish();
getSupportFragmentManager().popBackStack();
return true;
}
return super.onOptionsItemSelected(item);

View File

@ -70,7 +70,7 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case android.R.id.home:
finish();
getSupportFragmentManager().popBackStack();
return true;
}
return super.onOptionsItemSelected(item);