Fix tapping manga info button and fix not showing full info when first looking at the manga
This commit is contained in:
parent
4195b00e48
commit
f4d1c27cde
1 changed files with 9 additions and 0 deletions
|
|
@ -404,6 +404,15 @@ class MangaInfoController(private val fromSource: Boolean = false) :
|
||||||
binding.mangaSummary.clicks()
|
binding.mangaSummary.clicks()
|
||||||
.onEach { toggleMangaInfo(view.context) }
|
.onEach { toggleMangaInfo(view.context) }
|
||||||
.launchIn(scope)
|
.launchIn(scope)
|
||||||
|
binding.mangaInfoToggle.clicks()
|
||||||
|
.onEach { toggleMangaInfo(view.context) }
|
||||||
|
.launchIn(scope)
|
||||||
|
|
||||||
|
// Expand manga info if navigated from source listing
|
||||||
|
if (initialLoad && fromSource) {
|
||||||
|
toggleMangaInfo(view.context)
|
||||||
|
initialLoad = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue