fix: 书籍信息界面

pull/95/head
kunfei 5 years ago
parent eefb4155da
commit dd0cfe226c
  1. 4
      app/src/main/java/io/legado/app/ui/book/info/BookInfoActivity.kt

@ -242,6 +242,10 @@ class BookInfoActivity :
} }
private fun openChapterList() { private fun openChapterList() {
if (viewModel.chapterListData.value.isNullOrEmpty()) {
toast(R.string.chapter_list_empty)
return
}
viewModel.bookData.value?.let { viewModel.bookData.value?.let {
startActivityForResult<ChapterListActivity>( startActivityForResult<ChapterListActivity>(
requestCodeChapterList, requestCodeChapterList,

Loading…
Cancel
Save