diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/OneWayFadeChangeHandler.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/OneWayFadeChangeHandler.kt index e5357caaa..8d6cb3312 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/OneWayFadeChangeHandler.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/base/controller/OneWayFadeChangeHandler.kt @@ -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 }