|
|
@ -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) |
|
|
|