Browse Source

Fix toolbar menu being broken on transition (fixes #5135)

arkon 3 years ago
parent
commit
034506f56b

+ 2 - 1
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
     }