Browse Source

Navigation fix

main
M66B 6 years ago
parent
commit
7c7395a92e
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      app/src/main/java/eu/faircode/email/ActivityCompose.java
  2. +1
    -1
      app/src/main/java/eu/faircode/email/ActivitySetup.java

+ 1
- 1
app/src/main/java/eu/faircode/email/ActivityCompose.java View File

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


+ 1
- 1
app/src/main/java/eu/faircode/email/ActivitySetup.java View File

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


Loading…
Cancel
Save