From 034506f56b96b7f01c2d27021236e55f0542c559 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 29 May 2021 13:39:39 -0400 Subject: [PATCH] Fix toolbar menu being broken on transition (fixes #5135) --- .../tachiyomi/ui/base/controller/OneWayFadeChangeHandler.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 8d6cb3312..7f0ddc907 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 @@ -34,8 +34,9 @@ class OneWayFadeChangeHandler : FadeChangeHandler { } if (from != null && (!isPush || removesFromViewOnPush())) { - container.removeView(from) + from.alpha = 0f } + return animator }