hiding the entry views when clearing the errors
This commit is contained in:
parent
2792cceebe
commit
aeb881e8b6
|
@ -47,7 +47,9 @@ fun observeContentChangesAndResetErrors(username: TextInputLayout, password: Tex
|
|||
transform = { usernameHasContent, passwordHasContent -> usernameHasContent && passwordHasContent }
|
||||
).onEach {
|
||||
username.error = null
|
||||
username.isErrorEnabled = false
|
||||
password.error = null
|
||||
username.isErrorEnabled = false
|
||||
submit.isEnabled = it
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue