mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-24 05:38:01 +03:00
This reverts commit 974275a429
.
This commit is contained in:
parent
fed6f44995
commit
986b709f2c
1 changed files with 3 additions and 4 deletions
|
@ -31,12 +31,11 @@ class OneWayFadeChangeHandler : FadeChangeHandler {
|
|||
if (to != null) {
|
||||
val start: Float = if (toAddedToContainer) 0F else to.alpha
|
||||
animator.play(ObjectAnimator.ofFloat(to, View.ALPHA, start, 1f))
|
||||
} else {
|
||||
if (from != null && (!isPush || removesFromViewOnPush())) {
|
||||
container.removeView(from)
|
||||
}
|
||||
}
|
||||
|
||||
if (from != null && (!isPush || removesFromViewOnPush())) {
|
||||
container.removeView(from)
|
||||
}
|
||||
return animator
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue