pull/66/head
kunfei 5 years ago
parent 8cd1b1af12
commit ebad3c04a1
  1. 3
      app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt

@ -203,6 +203,9 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_boo
return super.dispatchKeyEvent(event)
}
/**
* 按键事件
*/
override fun onKeyDown(keyCode: Int, event: KeyEvent?): Boolean {
when (keyCode) {
KeyEvent.KEYCODE_VOLUME_UP -> {

Loading…
Cancel
Save