diff --git a/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt index f32b9a991..4aa72b8f7 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt @@ -892,7 +892,7 @@ class ReadBookActivity : BaseReadBookActivity(), override fun onTocRegexDialogResult(tocRegex: String) { ReadBook.book?.let { it.tocUrl = tocRegex - viewModel.loadChapterList(it) + loadChapterList(it) } }