pull/32/head
kunfei 5 years ago
parent adf2f05c9b
commit 4d3d802653
  1. 6
      app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt

@ -264,6 +264,12 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(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)
}
}
}
}
}

Loading…
Cancel
Save