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:
ByeongsuPark 2023-02-07 22:41:47 +09:00
parent 62c07fa02c
commit 6e44f52c4a
2 changed files with 3 additions and 1 deletions

1
changelog.d/7928.bugfix Normal file
View File

@ -0,0 +1 @@
Fix the next button disabled issue after going to change homeserver screen

View File

@ -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() {