diff --git a/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoActivity.kt b/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoActivity.kt index d22b3bbaa..d0d673d9f 100644 --- a/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoActivity.kt +++ b/app/src/main/java/io/legado/app/ui/bookinfo/BookInfoActivity.kt @@ -16,6 +16,7 @@ import io.legado.app.lib.theme.ATH import io.legado.app.ui.bookinfo.edit.BookInfoEditActivity import io.legado.app.ui.changesource.ChangeSourceDialog import io.legado.app.ui.readbook.ReadBookActivity +import io.legado.app.ui.sourceedit.SourceEditActivity import io.legado.app.utils.getViewModel import io.legado.app.utils.gone import io.legado.app.utils.visible @@ -161,6 +162,11 @@ class BookInfoActivity : VMBaseActivity(R.layout.activity_boo } } tv_loading.onClick { } + tv_origin.onClick { + viewModel.bookData.value?.let { + startActivity(Pair("data", it.origin)) + } + } tv_change_source.onClick { if (changeSourceDialog == null) { viewModel.bookData.value?.let {