mirror of
https://github.com/mihonapp/mihon.git
synced 2025-07-01 21:47:50 +02:00
Fix tapping manga info button and fix not showing full info when first looking at the manga
This commit is contained in:
@ -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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user