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
@ -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…
x
Reference in New Issue
Block a user