优化
This commit is contained in:
@@ -266,7 +266,6 @@ class BookInfoActivity :
|
|||||||
tvLasted.text = getString(R.string.lasted_show, book.latestChapterTitle)
|
tvLasted.text = getString(R.string.lasted_show, book.latestChapterTitle)
|
||||||
tvIntro.text = book.getDisplayIntro()
|
tvIntro.text = book.getDisplayIntro()
|
||||||
llToc?.visible(!book.isWebFile)
|
llToc?.visible(!book.isWebFile)
|
||||||
editMenuItem?.isVisible = viewModel.inBookshelf
|
|
||||||
upTvBookshelf()
|
upTvBookshelf()
|
||||||
val kinds = book.getKindList()
|
val kinds = book.getKindList()
|
||||||
if (kinds.isEmpty()) {
|
if (kinds.isEmpty()) {
|
||||||
@@ -318,6 +317,7 @@ class BookInfoActivity :
|
|||||||
} else {
|
} else {
|
||||||
binding.tvShelf.text = getString(R.string.add_to_bookshelf)
|
binding.tvShelf.text = getString(R.string.add_to_bookshelf)
|
||||||
}
|
}
|
||||||
|
editMenuItem?.isVisible = viewModel.inBookshelf
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun upGroup(groupId: Long) {
|
private fun upGroup(groupId: Long) {
|
||||||
|
|||||||
Reference in New Issue
Block a user