mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-26 23:28:58 +03:00
Fix categories button not working after adding manga (closes #2966)
This commit is contained in:
parent
d19d787f6e
commit
7fd547a2d6
1 changed files with 3 additions and 3 deletions
|
@ -83,10 +83,10 @@ class MangaInfoController(private val fromSource: Boolean = false) :
|
|||
|
||||
if (presenter.manga.favorite && presenter.getCategories().isNotEmpty()) {
|
||||
binding.btnCategories.visible()
|
||||
binding.btnCategories.clicks()
|
||||
.onEach { onCategoriesClick() }
|
||||
.launchIn(scope)
|
||||
}
|
||||
binding.btnCategories.clicks()
|
||||
.onEach { onCategoriesClick() }
|
||||
.launchIn(scope)
|
||||
|
||||
if (presenter.source is HttpSource) {
|
||||
binding.btnWebview.visible()
|
||||
|
|
Loading…
Reference in a new issue