|
|
|
@ -29,6 +29,8 @@ import io.legado.app.model.CheckSource |
|
|
|
|
import io.legado.app.model.Debug |
|
|
|
|
import io.legado.app.ui.association.ImportBookSourceDialog |
|
|
|
|
import io.legado.app.ui.book.import.local.rule.TxtTocRuleActivity |
|
|
|
|
import io.legado.app.ui.book.search.SearchActivity |
|
|
|
|
import io.legado.app.ui.book.search.SearchScope |
|
|
|
|
import io.legado.app.ui.book.source.debug.BookSourceDebugActivity |
|
|
|
|
import io.legado.app.ui.book.source.edit.BookSourceEditActivity |
|
|
|
|
import io.legado.app.ui.config.CheckSourceConfig |
|
|
|
@ -605,6 +607,12 @@ class BookSourceActivity : VMBaseActivity<ActivityBookSourceBinding, BookSourceV |
|
|
|
|
viewModel.bottomSource(bookSource) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
override fun searchBook(bookSource: BookSource) { |
|
|
|
|
startActivity<SearchActivity> { |
|
|
|
|
putExtra("searchScope", SearchScope(bookSource).toString()) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
override fun debug(bookSource: BookSource) { |
|
|
|
|
startActivity<BookSourceDebugActivity> { |
|
|
|
|
putExtra("key", bookSource.bookSourceUrl) |
|
|
|
|