Fix wrong query being used when opening Global Search (#7604)

This commit is contained in:
Andreas 2022-07-24 21:06:18 +02:00 committed by GitHub
parent 164de67a56
commit 76057b84b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) },