浏览代码

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

Andreas 2 年之前
父节点
当前提交
76057b84b2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt

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