Ver código fonte

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

Andreas 2 anos atrás
pai
commit
76057b84b2

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt

@@ -53,7 +53,7 @@ class LibraryController(
             presenter = presenter,
             onMangaClicked = ::openManga,
             onGlobalSearchClicked = {
-                router.pushController(GlobalSearchController(presenter.query))
+                router.pushController(GlobalSearchController(presenter.searchQuery))
             },
             onChangeCategoryClicked = ::showMangaCategoriesDialog,
             onMarkAsReadClicked = { markReadStatus(true) },