pull/66/head
kunfei 5 years ago
parent fd4b2d6e33
commit 86049f4208
  1. 4
      app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt

@ -224,13 +224,13 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_boo
return true
}
getPrefInt(PreferKey.prevKey) -> {
if (keyCode != 0) {
if (keyCode != KeyEvent.KEYCODE_UNKNOWN) {
page_view.moveToPrevPage()
return true
}
}
getPrefInt(PreferKey.nextKey) -> {
if (keyCode != 0) {
if (keyCode != KeyEvent.KEYCODE_UNKNOWN) {
page_view.moveToNextPage()
return true
}

Loading…
Cancel
Save