pull/32/head
kunfei 5 years ago
parent a2de255e4a
commit 61d88b0b63
  1. 9
      app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt

@ -283,12 +283,9 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_rea
|| readAloudStatus != Status.PLAY || readAloudStatus != Status.PLAY
) { ) {
when (direction) { when (direction) {
PageDelegate.Direction.PREV -> { PageDelegate.Direction.PREV -> page_view.moveToPrevPage()
PageDelegate.Direction.NEXT -> page_view.moveToNextPage()
} else -> return true
PageDelegate.Direction.NEXT -> {
}
} }
return true return true
} }

Loading…
Cancel
Save