pull/2622/head
kunfei 2 years ago
parent b5523f377e
commit 212484e8f0
  1. 2
      app/src/main/java/io/legado/app/ui/book/toc/TocActivity.kt

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

Loading…
Cancel
Save