KeybackupBanner: remove unnecessary animation
This commit is contained in:
parent
253582219c
commit
1f2d5b0d00
|
@ -80,8 +80,6 @@ class KeysBackupBanner @JvmOverloads constructor(
|
||||||
state = newState
|
state = newState
|
||||||
|
|
||||||
hideAll()
|
hideAll()
|
||||||
val parent = parent as ViewGroup
|
|
||||||
TransitionManager.beginDelayedTransition(parent)
|
|
||||||
when (newState) {
|
when (newState) {
|
||||||
State.Initial -> renderInitial()
|
State.Initial -> renderInitial()
|
||||||
State.Hidden -> renderHidden()
|
State.Hidden -> renderHidden()
|
||||||
|
|
Loading…
Reference in New Issue