mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 11:17:25 +01:00
Fix wrong query being used when opening Global Search (#7604)
This commit is contained in:
parent
164de67a56
commit
76057b84b2
@ -53,7 +53,7 @@ class LibraryController(
|
|||||||
presenter = presenter,
|
presenter = presenter,
|
||||||
onMangaClicked = ::openManga,
|
onMangaClicked = ::openManga,
|
||||||
onGlobalSearchClicked = {
|
onGlobalSearchClicked = {
|
||||||
router.pushController(GlobalSearchController(presenter.query))
|
router.pushController(GlobalSearchController(presenter.searchQuery))
|
||||||
},
|
},
|
||||||
onChangeCategoryClicked = ::showMangaCategoriesDialog,
|
onChangeCategoryClicked = ::showMangaCategoriesDialog,
|
||||||
onMarkAsReadClicked = { markReadStatus(true) },
|
onMarkAsReadClicked = { markReadStatus(true) },
|
||||||
|
Loading…
Reference in New Issue
Block a user