summaryrefslogtreecommitdiff
path: root/app/src/main/java/com/javispedro/rempe/SettingsActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/com/javispedro/rempe/SettingsActivity.java')
-rw-r--r--app/src/main/java/com/javispedro/rempe/SettingsActivity.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/java/com/javispedro/rempe/SettingsActivity.java b/app/src/main/java/com/javispedro/rempe/SettingsActivity.java
index f660c70..d42c493 100644
--- a/app/src/main/java/com/javispedro/rempe/SettingsActivity.java
+++ b/app/src/main/java/com/javispedro/rempe/SettingsActivity.java
@@ -24,6 +24,12 @@ public class SettingsActivity extends AppCompatActivity {
}
}
+ @Override
+ public boolean onSupportNavigateUp() {
+ finish();
+ return true;
+ }
+
public static class SettingsFragment extends PreferenceFragmentCompat {
@Override
public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {