Update state of encrypt username checkbox onCreate (#859)

This commit is contained in:
Fabian Henneke 2020-06-18 10:23:42 +02:00 committed by GitHub
parent fed8236738
commit e25e0035a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,6 +116,7 @@ class PasswordCreationActivity : BasePgpActivity(), OpenPgpServiceConnection.OnB
listOf(filename, extraContent).forEach { listOf(filename, extraContent).forEach {
it.doOnTextChanged { _, _, _, _ -> updateEncryptUsernameState() } it.doOnTextChanged { _, _, _, _ -> updateEncryptUsernameState() }
} }
updateEncryptUsernameState()
} }
suggestedPass?.let { suggestedPass?.let {
password.setText(it) password.setText(it)