fix: restore copy-on-decrypt feature
This commit is contained in:
parent
1b40c950a4
commit
3a7d298a6f
1 changed files with 3 additions and 0 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue