fix: restore copy-on-decrypt feature

This commit is contained in:
Harsh Shandilya 2024-01-17 16:37:45 +05:30
parent 1b40c950a4
commit 3a7d298a6f

View file

@ -262,6 +262,9 @@ class DecryptActivity : BasePGPActivity() {
val items = arrayListOf<FieldItem>()
if (!entry.password.isNullOrBlank()) {
items.add(FieldItem.createPasswordField(entry.password!!))
if (settings.getBoolean(PreferenceKeys.COPY_ON_DECRYPT, false)) {
copyPasswordToClipboard(entry.password)
}
}
if (entry.hasTotp()) {