MangaController: Fix listeners cancelled when pushing new controller within (#5883)

(cherry picked from commit f41bde5ee1562a1ed46d7ef6f00dc194c5071772)
This commit is contained in:
Ivan Iskandar 2021-09-11 21:20:52 +07:00 committed by Jobobby04
parent b7c0c7a094
commit 889a61704f

View File

@ -249,7 +249,7 @@ class MangaController :
// Hide toolbar title on enter
if (type.isEnter) {
updateToolbarTitleAlpha()
} else {
} else if (!type.isPush) {
// Cancel listeners early
viewScope.cancel()
updateToolbarTitleAlpha(1F)