mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +03:00
Password could contain only spaces
This commit is contained in:
parent
9bfe904745
commit
bb85d41f05
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ class LoginFragment @Inject constructor(
|
|||
Observable
|
||||
.combineLatest(
|
||||
loginField.textChanges().map { it.trim().isNotEmpty() },
|
||||
passwordField.textChanges().map { it.trim().isNotEmpty() },
|
||||
passwordField.textChanges().map { it.isNotEmpty() },
|
||||
BiFunction<Boolean, Boolean, Boolean> { isLoginNotEmpty, isPasswordNotEmpty ->
|
||||
isLoginNotEmpty && isPasswordNotEmpty
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue