diff --git a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt index 1a7aae0a8..681829fc9 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt @@ -264,6 +264,12 @@ class ReadBookActivity : VMBaseActivity(R.layout.activity_rea viewModel.durChapterIndex + 1 -> { viewModel.nextTextChapter = ChapterProvider.getTextChapter(content_text_view, bookChapter, content) + viewModel.bookData.value?.let { + for (i in viewModel.durChapterIndex.plus(2) + ..viewModel.durChapterIndex.plus(8)) { + viewModel.download(it, i) + } + } } } }