pull/32/head
kunfei 5 years ago
parent 8fdf876456
commit 966af854d8
  1. 3
      app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt

@ -415,6 +415,7 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_rea
viewModel.durPageIndex = page
page_view.upContent()
curPageChanged()
viewModel.saveRead()
}
override fun openReplaceRule() {
@ -567,7 +568,7 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_rea
page_view.upContent()
viewModel.saveRead()
}
2 -> if (moveToNextChapter()) ReadAloudService.stop(this)
2 -> if (!moveToNextChapter()) ReadAloudService.stop(this)
-1 -> {
if (viewModel.durPageIndex > 0) {
viewModel.durPageIndex = viewModel.durPageIndex - 1

Loading…
Cancel
Save