mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-21 17:05:39 +03:00
Fix the next button disable issue after visiting homeserver screen
Signed-off-by: byeongsu@soongsil.ac.kr <byeongsu@soongsil.ac.kr>
This commit is contained in:
parent
62c07fa02c
commit
6e44f52c4a
2 changed files with 3 additions and 1 deletions
1
changelog.d/7928.bugfix
Normal file
1
changelog.d/7928.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Fix the next button disabled issue after going to change homeserver screen
|
|
@ -23,6 +23,7 @@ import android.view.View
|
|||
import android.view.ViewGroup
|
||||
import androidx.autofill.HintConstants
|
||||
import androidx.core.view.isVisible
|
||||
import androidx.lifecycle.flowWithLifecycle
|
||||
import androidx.lifecycle.lifecycleScope
|
||||
import dagger.hilt.android.AndroidEntryPoint
|
||||
import im.vector.app.R
|
||||
|
@ -103,7 +104,7 @@ class FtueAuthCombinedLoginFragment :
|
|||
|
||||
combine(views.loginInput.editText().textChanges(), views.loginPasswordInput.editText().textChanges()) { account, password ->
|
||||
views.loginSubmit.isEnabled = account.isNotEmpty() && password.isNotEmpty()
|
||||
}.launchIn(viewLifecycleOwner.lifecycleScope)
|
||||
}.flowWithLifecycle(lifecycle).launchIn(viewLifecycleOwner.lifecycleScope)
|
||||
}
|
||||
|
||||
private fun submit() {
|
||||
|
|
Loading…
Reference in a new issue