aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/dialog_password_entry.xml5
-rw-r--r--app/src/main/res/values/strings.xml1
2 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/res/layout/dialog_password_entry.xml b/app/src/main/res/layout/dialog_password_entry.xml
index 0072d491..e2ad5a2f 100644
--- a/app/src/main/res/layout/dialog_password_entry.xml
+++ b/app/src/main/res/layout/dialog_password_entry.xml
@@ -27,4 +27,9 @@
<requestFocus />
</com.google.android.material.textfield.TextInputLayout>
+ <com.google.android.material.checkbox.MaterialCheckBox
+ android:id="@+id/auto_clear_cache"
+ android:layout_width="match_parent"
+ android:text="@string/clear_cached_password_on_screen_off"
+ android:layout_height="wrap_content" />
</LinearLayout>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 07a9661b..404339ce 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -381,4 +381,5 @@
<string name="biometric_prompt_title_gpg_passphrase_cache">Unlock passphrase cache</string>
<string name="aead_detect_title">AEAD encryption detected</string>
<string name="aead_detect_message">%1$s, see https://passwordstore.app/fix-aead for more information</string>
+ <string name="clear_cached_password_on_screen_off">Clear cached password on screen-off</string>
</resources>