mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 19:27:25 +01:00
Fix categories button not working after adding manga (closes #2966)
This commit is contained in:
parent
d19d787f6e
commit
7fd547a2d6
@ -83,10 +83,10 @@ class MangaInfoController(private val fromSource: Boolean = false) :
|
|||||||
|
|
||||||
if (presenter.manga.favorite && presenter.getCategories().isNotEmpty()) {
|
if (presenter.manga.favorite && presenter.getCategories().isNotEmpty()) {
|
||||||
binding.btnCategories.visible()
|
binding.btnCategories.visible()
|
||||||
|
}
|
||||||
binding.btnCategories.clicks()
|
binding.btnCategories.clicks()
|
||||||
.onEach { onCategoriesClick() }
|
.onEach { onCategoriesClick() }
|
||||||
.launchIn(scope)
|
.launchIn(scope)
|
||||||
}
|
|
||||||
|
|
||||||
if (presenter.source is HttpSource) {
|
if (presenter.source is HttpSource) {
|
||||||
binding.btnWebview.visible()
|
binding.btnWebview.visible()
|
||||||
|
Loading…
Reference in New Issue
Block a user