From c309ec57164e9d14f33655d269e3b5813a6eed54 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 18 Aug 2019 19:30:12 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/ui/bookinfo/BookInfoActivity.kt | 6 ++++++ 1 file changed, 6 insertions(+) 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 {