mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-27 12:00:03 +03:00
Fix / Bind continue button
This commit is contained in:
parent
2f237cf17b
commit
c6abfa14ea
1 changed files with 8 additions and 0 deletions
|
@ -83,6 +83,14 @@ class BootstrapAccountPasswordFragment @Inject constructor(
|
||||||
}
|
}
|
||||||
.disposeOnDestroyView()
|
.disposeOnDestroyView()
|
||||||
|
|
||||||
|
bootstrapPasswordButton.clicks()
|
||||||
|
.debounce(300, TimeUnit.MILLISECONDS)
|
||||||
|
.observeOn(AndroidSchedulers.mainThread())
|
||||||
|
.subscribe {
|
||||||
|
submit()
|
||||||
|
}
|
||||||
|
.disposeOnDestroyView()
|
||||||
|
|
||||||
withState(sharedViewModel) { state ->
|
withState(sharedViewModel) { state ->
|
||||||
(state.step as? BootstrapStep.AccountPassword)?.failure?.let {
|
(state.step as? BootstrapStep.AccountPassword)?.failure?.let {
|
||||||
bootstrapAccountPasswordTil.error = it
|
bootstrapAccountPasswordTil.error = it
|
||||||
|
|
Loading…
Reference in a new issue