From b3cf7dbc145d7cab25833ae4961cc0fbf364f431 Mon Sep 17 00:00:00 2001 From: len Date: Sun, 20 Mar 2016 22:17:23 +0100 Subject: [PATCH] Implement #226 --- .../main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt index 476fbbdf1..e07d03a3d 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderActivity.kt @@ -175,12 +175,12 @@ class ReaderActivity : BaseRxActivity() { val action = event.action val keyCode = event.keyCode when (keyCode) { - KeyEvent.KEYCODE_VOLUME_DOWN -> { + KeyEvent.KEYCODE_VOLUME_DOWN, KeyEvent.KEYCODE_DPAD_RIGHT -> { if (action == KeyEvent.ACTION_UP) viewer?.moveToNext() return true } - KeyEvent.KEYCODE_VOLUME_UP -> { + KeyEvent.KEYCODE_VOLUME_UP, KeyEvent.KEYCODE_DPAD_RIGHT -> { if (action == KeyEvent.ACTION_UP) viewer?.moveToPrevious() return true