优化
This commit is contained in:
@@ -100,7 +100,7 @@ class BookInfoActivity :
|
|||||||
binding.scrollView.setBackgroundColor(backgroundColor)
|
binding.scrollView.setBackgroundColor(backgroundColor)
|
||||||
binding.flAction.setBackgroundColor(bottomBackground)
|
binding.flAction.setBackgroundColor(bottomBackground)
|
||||||
binding.tvShelf.setTextColor(getPrimaryTextColor(ColorUtils.isColorLight(bottomBackground)))
|
binding.tvShelf.setTextColor(getPrimaryTextColor(ColorUtils.isColorLight(bottomBackground)))
|
||||||
binding.tvToc.text = getString(R.string.toc_s, getString(R.string.
|
binding.tvToc.text = getString(R.string.toc_s, getString(R.string.loading))
|
||||||
viewModel.bookData.observe(this) { showBook(it) }
|
viewModel.bookData.observe(this) { showBook(it) }
|
||||||
viewModel.chapterListData.observe(this) { upLoading(false, it) }
|
viewModel.chapterListData.observe(this) { upLoading(false, it) }
|
||||||
viewModel.initData(intent)
|
viewModel.initData(intent)
|
||||||
|
|||||||
Reference in New Issue
Block a user