优化
This commit is contained in:
1 parent
93c269d644
commit
3acd75f2b5
1 file changed
+1
-1
@@ -133,7 +133,7 @@ class TocActivity : VMBaseActivity<ActivityChapterListBinding, TocViewModel>(),
|
|||||||
waitDialog.dismiss()
|
waitDialog.dismiss()
|
||||||
ReadBook.book?.let { readBook ->
|
ReadBook.book?.let { readBook ->
|
||||||
if (readBook == book) {
|
if (readBook == book) {
|
||||||
readBook.tocUrl = tocRegex
|
ReadBook.book = book
|
||||||
ReadBook.chapterSize = book.totalChapterNum
|
ReadBook.chapterSize = book.totalChapterNum
|
||||||
ReadBook.upMsg(null)
|
ReadBook.upMsg(null)
|
||||||
ReadBook.loadContent(resetPageOffset = true)
|
ReadBook.loadContent(resetPageOffset = true)
|
||||||
|
|||||||
Reference in new issue
Block a user