mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-17 07:22:50 +00:00
Fix back navigation in preferences when pressing the home action button
This commit is contained in:
parent
3d124d225e
commit
681326839c
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ public class PreferencesActivity extends AegisActivity implements
|
|||
@Override
|
||||
public boolean onOptionsItemSelected(MenuItem item) {
|
||||
if (item.getItemId() == android.R.id.home) {
|
||||
finish();
|
||||
getOnBackPressedDispatcher().onBackPressed();
|
||||
} else {
|
||||
return super.onOptionsItemSelected(item);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue