Verification: improve blinking effect (not perfect yet)

This commit is contained in:
Benoit Marty 2020-01-16 10:16:39 +01:00 committed by Valere
parent aaeb54db7c
commit 188cd6beff
4 changed files with 0 additions and 24 deletions

View File

@ -35,12 +35,6 @@ class VerificationChooseMethodController @Inject constructor(
private var viewState: VerificationChooseMethodViewState? = null
init {
// We are requesting a model build directly as the first build of epoxy is on the main thread.
// It avoids to build the whole list on the main thread.
requestModelBuild()
}
fun update(viewState: VerificationChooseMethodViewState) {
this.viewState = viewState
requestModelBuild()

View File

@ -37,12 +37,6 @@ class VerificationConclusionController @Inject constructor(
private var viewState: VerificationConclusionViewState? = null
init {
// We are requesting a model build directly as the first build of epoxy is on the main thread.
// It avoids to build the whole list on the main thread.
requestModelBuild()
}
fun update(viewState: VerificationConclusionViewState) {
this.viewState = viewState
requestModelBuild()

View File

@ -38,12 +38,6 @@ class VerificationEmojiCodeController @Inject constructor(
private var viewState: VerificationEmojiCodeViewState? = null
init {
// We are requesting a model build directly as the first build of epoxy is on the main thread.
// It avoids to build the whole list on the main thread.
requestModelBuild()
}
fun update(viewState: VerificationEmojiCodeViewState) {
this.viewState = viewState
requestModelBuild()

View File

@ -38,12 +38,6 @@ class VerificationRequestController @Inject constructor(
private var viewState: VerificationRequestViewState? = null
init {
// We are requesting a model build directly as the first build of epoxy is on the main thread.
// It avoids to build the whole list on the main thread.
requestModelBuild()
}
fun update(viewState: VerificationRequestViewState) {
this.viewState = viewState
requestModelBuild()