mirror of
https://github.com/element-hq/element-android
synced 2024-10-22 18:56:29 +03:00
Login screens: disable submit button when input is empty
This commit is contained in:
parent
5db3f51ddb
commit
ef35f0a044
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ class LoginServerUrlFormFragment @Inject constructor(
|
|||
loginServerUrlFormHomeServerUrl.textChanges()
|
||||
.subscribe {
|
||||
loginServerUrlFormHomeServerUrlTil.error = null
|
||||
loginServerUrlFormSubmit.isEnabled = it.isNotBlank()
|
||||
}
|
||||
.disposeOnDestroyView()
|
||||
|
||||
|
|
Loading…
Reference in a new issue