|
|
|
@ -100,7 +100,7 @@ class BookInfoActivity : |
|
|
|
|
binding.scrollView.setBackgroundColor(backgroundColor) |
|
|
|
|
binding.flAction.setBackgroundColor(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.chapterListData.observe(this) { upLoading(false, it) } |
|
|
|
|
viewModel.initData(intent) |
|
|
|
|