diff --git a/app/src/main/java/io/legado/app/ui/book/toc/TocActivity.kt b/app/src/main/java/io/legado/app/ui/book/toc/TocActivity.kt index 60c0c7ae7..ecf988bb8 100644 --- a/app/src/main/java/io/legado/app/ui/book/toc/TocActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/toc/TocActivity.kt @@ -133,7 +133,7 @@ class TocActivity : VMBaseActivity(), waitDialog.dismiss() ReadBook.book?.let { readBook -> if (readBook == book) { - readBook.tocUrl = tocRegex + ReadBook.book = book ReadBook.chapterSize = book.totalChapterNum ReadBook.upMsg(null) ReadBook.loadContent(resetPageOffset = true)