Fix / Bind continue button

This commit is contained in:
Valere 2020-04-02 16:54:30 +02:00
parent 2f237cf17b
commit c6abfa14ea

View file

@ -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