pull/32/head
kunfei 5 years ago
parent 5a3c039d3e
commit 9bfffd33bd
  1. 3
      app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt

@ -277,6 +277,9 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_rea
override fun setPageIndex(pageIndex: Int) { override fun setPageIndex(pageIndex: Int) {
viewModel.durPageIndex = pageIndex viewModel.durPageIndex = pageIndex
viewModel.saveRead() viewModel.saveRead()
if (readAloudStatus == Status.PLAY) {
readAloud()
}
} }
override fun textChapter(chapterOnDur: Int): TextChapter? { override fun textChapter(chapterOnDur: Int): TextChapter? {

Loading…
Cancel
Save