mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 14:25:28 +00:00
fix: restore copy-on-decrypt feature
This commit is contained in:
@@ -262,6 +262,9 @@ class DecryptActivity : BasePGPActivity() {
|
|||||||
val items = arrayListOf<FieldItem>()
|
val items = arrayListOf<FieldItem>()
|
||||||
if (!entry.password.isNullOrBlank()) {
|
if (!entry.password.isNullOrBlank()) {
|
||||||
items.add(FieldItem.createPasswordField(entry.password!!))
|
items.add(FieldItem.createPasswordField(entry.password!!))
|
||||||
|
if (settings.getBoolean(PreferenceKeys.COPY_ON_DECRYPT, false)) {
|
||||||
|
copyPasswordToClipboard(entry.password)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (entry.hasTotp()) {
|
if (entry.hasTotp()) {
|
||||||
|
Reference in New Issue
Block a user