summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-08-10 18:48:11 +0530
committerGitHub <noreply@github.com>2020-08-10 18:48:11 +0530
commite0350043d0cb95999335ac746154c2c3f3129616 (patch)
tree94056711ffc07ae04a412027ccc7537234838b4e
parent1c4ac91c6cd8440a1874390d4fd1f32953a2e8e3 (diff)
Disable automatic copy on decrypt by default (#1006)
Fixes #476 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r--CHANGELOG.md1
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/crypto/DecryptActivity.kt2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 128274c0..af559a43 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file.
- Slightly reduce APK size
- Always show the parent path in entries
+- Passwords will no longer be copied to the clipboard by default
### Fixed
diff --git a/app/src/main/java/com/zeapo/pwdstore/crypto/DecryptActivity.kt b/app/src/main/java/com/zeapo/pwdstore/crypto/DecryptActivity.kt
index cc70dcc1..79f9e6da 100644
--- a/app/src/main/java/com/zeapo/pwdstore/crypto/DecryptActivity.kt
+++ b/app/src/main/java/com/zeapo/pwdstore/crypto/DecryptActivity.kt
@@ -206,7 +206,7 @@ class DecryptActivity : BasePgpActivity(), OpenPgpServiceConnection.OnBound {
}
}
- if (settings.getBoolean(PreferenceKeys.COPY_ON_DECRYPT, true)) {
+ if (settings.getBoolean(PreferenceKeys.COPY_ON_DECRYPT, false)) {
copyPasswordToClipboard(entry.password)
}
} catch (e: Exception) {