From 0e66b033e89caca1624d1b31986c15d8a38e4c9b Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 25 Jul 2019 20:40:45 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt index 41a806dea..afb29d680 100644 --- a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt +++ b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt @@ -19,6 +19,7 @@ import io.legado.app.data.entities.Book import io.legado.app.data.entities.BookGroup import io.legado.app.lib.theme.ThemeStore import io.legado.app.ui.bookshelf.BookshelfActivity +import io.legado.app.ui.search.SearchActivity import io.legado.app.utils.disableAutoFill import kotlinx.android.synthetic.main.fragment_bookshelf.* import kotlinx.android.synthetic.main.view_title_bar.* @@ -110,6 +111,7 @@ class BookshelfFragment : BaseFragment(R.layout.fragment_bookshelf), SearchView. } override fun onQueryTextSubmit(query: String?): Boolean { + context?.startActivity(Pair("key", query)) return false }