Disable automatic copy on decrypt by default (#1006)

Fixes #476

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-08-10 18:48:11 +05:30 committed by GitHub
parent 1c4ac91c6c
commit e0350043d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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) {