mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-02 20:26:47 +01:00
Login screens: disable submit button when input is empty
This commit is contained in:
parent
5db3f51ddb
commit
ef35f0a044
@ -54,6 +54,7 @@ class LoginServerUrlFormFragment @Inject constructor(
|
||||
loginServerUrlFormHomeServerUrl.textChanges()
|
||||
.subscribe {
|
||||
loginServerUrlFormHomeServerUrlTil.error = null
|
||||
loginServerUrlFormSubmit.isEnabled = it.isNotBlank()
|
||||
}
|
||||
.disposeOnDestroyView()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user