pull/32/head
kunfei 5 years ago
parent a313463745
commit 8ab491d573
  1. 2
      app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt

@ -259,10 +259,12 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_rea
viewModel.durChapterIndex - 1 -> launch {
viewModel.prevTextChapter =
ChapterProvider.getTextChapter(content_text_view, bookChapter, content)
page_view.upContent()
}
viewModel.durChapterIndex + 1 -> launch {
viewModel.nextTextChapter =
ChapterProvider.getTextChapter(content_text_view, bookChapter, content)
page_view.upContent()
}
}
}

Loading…
Cancel
Save