aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2023-05-09 00:13:09 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2023-05-09 00:13:09 +0530
commit39c7b0cb7bd512eb981c2cffa1f1507ceb06d0a3 (patch)
treeb61720d721d9bba4db446e9ae892a71e4242d658 /app/src/main/java
parentf3fc246c5813184e4da763c321ce369a85e3ac20 (diff)
fix: add warning to passphrase cache feature
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/app/passwordstore/ui/settings/PGPSettings.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/app/passwordstore/ui/settings/PGPSettings.kt b/app/src/main/java/app/passwordstore/ui/settings/PGPSettings.kt
index 7be4a268..e3c3e90c 100644
--- a/app/src/main/java/app/passwordstore/ui/settings/PGPSettings.kt
+++ b/app/src/main/java/app/passwordstore/ui/settings/PGPSettings.kt
@@ -33,7 +33,8 @@ class PGPSettings(private val activity: FragmentActivity) : SettingsProvider {
persistent = true
}
switch(Feature.EnableGPGPassphraseCache.configKey) {
- titleRes = R.string.pref_title_passphrase_cache
+ titleRes = R.string.pref_passphrase_cache_title
+ summaryRes = R.string.pref_passphrase_cache_summary
defaultValue = false
}
}