mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
Verification: improve blinking effect (not perfect yet)
This commit is contained in:
parent
aaeb54db7c
commit
188cd6beff
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user