feat: 优化代码

pull/172/head
kunfei 5 years ago
parent 806caa7143
commit 5660af2da5
  1. 3
      app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt

@ -230,6 +230,9 @@ class BookInfoActivity :
tv_author.onClick {
startActivity<SearchActivity>(Pair("key", viewModel.bookData.value?.author))
}
tv_name.onClick {
startActivity<SearchActivity>(Pair("key", viewModel.bookData.value?.name))
}
}
@SuppressLint("InflateParams")

Loading…
Cancel
Save