summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt b/app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt
index 861250c8..24cd8bbd 100644
--- a/app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt
+++ b/app/src/main/java/app/passwordstore/ui/passwords/PasswordStore.kt
@@ -315,7 +315,9 @@ class PasswordStore : BaseGitActivity() {
}
}
R.id.refresh -> refreshPasswordList()
- android.R.id.home -> onBackPressedDispatcher.onBackPressed()
+ android.R.id.home -> {
+ @Suppress("DEPRECATION") onBackPressed()
+ }
else -> return super.onOptionsItemSelected(item)
}
return true