mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 06:15:48 +00:00
fix: restore copy-on-decrypt feature
This commit is contained in:
@@ -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()) {
|
||||
|
Reference in New Issue
Block a user