mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-26 10:58:24 +01:00
MangaController: Fix listeners cancelled when pushing new controller within (#5883)
This commit is contained in:
parent
6151318ac1
commit
f41bde5ee1
@ -195,7 +195,7 @@ class MangaController :
|
|||||||
// Hide toolbar title on enter
|
// Hide toolbar title on enter
|
||||||
if (type.isEnter) {
|
if (type.isEnter) {
|
||||||
updateToolbarTitleAlpha()
|
updateToolbarTitleAlpha()
|
||||||
} else {
|
} else if (!type.isPush) {
|
||||||
// Cancel listeners early
|
// Cancel listeners early
|
||||||
viewScope.cancel()
|
viewScope.cancel()
|
||||||
updateToolbarTitleAlpha(1F)
|
updateToolbarTitleAlpha(1F)
|
||||||
|
Loading…
Reference in New Issue
Block a user