|
|
@ -24,6 +24,7 @@ import io.legado.app.lib.dialogs.yesButton |
|
|
|
import io.legado.app.lib.theme.ATH |
|
|
|
import io.legado.app.lib.theme.ATH |
|
|
|
import io.legado.app.lib.theme.accentColor |
|
|
|
import io.legado.app.lib.theme.accentColor |
|
|
|
import io.legado.app.ui.bookshelf.BookshelfActivity |
|
|
|
import io.legado.app.ui.bookshelf.BookshelfActivity |
|
|
|
|
|
|
|
import io.legado.app.ui.chapterlist.ChapterListActivity |
|
|
|
import io.legado.app.ui.read.ReadActivity |
|
|
|
import io.legado.app.ui.read.ReadActivity |
|
|
|
import io.legado.app.ui.search.SearchActivity |
|
|
|
import io.legado.app.ui.search.SearchActivity |
|
|
|
import io.legado.app.utils.applyTint |
|
|
|
import io.legado.app.utils.applyTint |
|
|
@ -108,6 +109,10 @@ class BookshelfFragment : VMBaseFragment<BookshelfViewModel>(R.layout.fragment_b |
|
|
|
context?.startActivity<ReadActivity>() |
|
|
|
context?.startActivity<ReadActivity>() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
override fun openBookInfo(book: Book) { |
|
|
|
|
|
|
|
context?.startActivity<ChapterListActivity>(Pair("bookUrl", book.bookUrl)) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
override fun search() { |
|
|
|
override fun search() { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|