diff --git a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfAdapter.kt b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfAdapter.kt index 213a325e6..4f5a271c2 100644 --- a/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfAdapter.kt +++ b/app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfAdapter.kt @@ -100,7 +100,6 @@ class BookshelfAdapter : PagedListAdapter(D interface CallBack { fun open(book: Book) fun openBookInfo(book: Book) - fun search() fun isUpdate(bookUrl: String): Boolean } } \ No newline at end of file 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 2e389815d..415a7cafe 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 @@ -118,10 +118,6 @@ class BookshelfFragment : VMBaseFragment(R.layout.fragment_b context?.startActivity(Pair("bookUrl", book.bookUrl)) } - override fun search() { - - } - override fun isUpdate(bookUrl: String): Boolean { return bookUrl in viewModel.updateList }