Fix last commit

This commit is contained in:
len 2016-03-20 23:55:44 +01:00
parent b3cf7dbc14
commit 19cb548e18

View File

@ -180,7 +180,7 @@ class ReaderActivity : BaseRxActivity<ReaderPresenter>() {
viewer?.moveToNext() viewer?.moveToNext()
return true return true
} }
KeyEvent.KEYCODE_VOLUME_UP, KeyEvent.KEYCODE_DPAD_RIGHT -> { KeyEvent.KEYCODE_VOLUME_UP, KeyEvent.KEYCODE_DPAD_LEFT -> {
if (action == KeyEvent.ACTION_UP) if (action == KeyEvent.ACTION_UP)
viewer?.moveToPrevious() viewer?.moveToPrevious()
return true return true