From f41bde5ee1562a1ed46d7ef6f00dc194c5071772 Mon Sep 17 00:00:00 2001 From: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com> Date: Sat, 11 Sep 2021 21:20:52 +0700 Subject: [PATCH] MangaController: Fix listeners cancelled when pushing new controller within (#5883) --- .../main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt index fd20c9bef7..4c1067ca45 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt @@ -195,7 +195,7 @@ class MangaController : // Hide toolbar title on enter if (type.isEnter) { updateToolbarTitleAlpha() - } else { + } else if (!type.isPush) { // Cancel listeners early viewScope.cancel() updateToolbarTitleAlpha(1F)