diff --git a/app/src/main/java/io/legado/app/ui/readbook/ReadBookViewModel.kt b/app/src/main/java/io/legado/app/ui/readbook/ReadBookViewModel.kt index 841b06199..f6b1bd219 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/ReadBookViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/ReadBookViewModel.kt @@ -234,7 +234,6 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) { durChapterIndex++ prevTextChapter = curTextChapter curTextChapter = nextTextChapter - nextTextChapter = null bookData.value?.let { launch(IO) { for (i in 0..10) { @@ -251,7 +250,6 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) { durChapterIndex-- nextTextChapter = curTextChapter curTextChapter = prevTextChapter - prevTextChapter = null bookData.value?.let { launch(IO) { for (i in -5..0) {