소스 검색

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