summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Henneke <FabianHenneke@users.noreply.github.com>2020-06-18 10:23:42 +0200
committerGitHub <noreply@github.com>2020-06-18 10:23:42 +0200
commite25e0035a2e4d6227f9d8071687e421e784186a4 (patch)
tree655ae2f001751e28cafba0b67952e91d85d1dbb0
parentfed8236738427d0afbc5bb12585fdae057d3917b (diff)
Update state of encrypt username checkbox onCreate (#859)
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/crypto/PasswordCreationActivity.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/crypto/PasswordCreationActivity.kt b/app/src/main/java/com/zeapo/pwdstore/crypto/PasswordCreationActivity.kt
index c735659a..1fdeafe9 100644
--- a/app/src/main/java/com/zeapo/pwdstore/crypto/PasswordCreationActivity.kt
+++ b/app/src/main/java/com/zeapo/pwdstore/crypto/PasswordCreationActivity.kt
@@ -116,6 +116,7 @@ class PasswordCreationActivity : BasePgpActivity(), OpenPgpServiceConnection.OnB
listOf(filename, extraContent).forEach {
it.doOnTextChanged { _, _, _, _ -> updateEncryptUsernameState() }
}
+ updateEncryptUsernameState()
}
suggestedPass?.let {
password.setText(it)