diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 26e965165..23e36edff 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -44,7 +44,12 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + { + if (ReadBook.book != null) { + ReadBook.moveToNextChapter(true) + } + return true + } + + KeyEvent.KEYCODE_MEDIA_PREVIOUS -> { + if (ReadBook.book != null) { + ReadBook.moveToPrevChapter(upContent = true, toLast = false) + } + return true + } } return false } diff --git a/app/src/main/res/xml/spen_remote_actions.xml b/app/src/main/res/xml/spen_remote_actions.xml index f38cfebe8..b4c37656c 100644 --- a/app/src/main/res/xml/spen_remote_actions.xml +++ b/app/src/main/res/xml/spen_remote_actions.xml @@ -11,6 +11,7 @@ trigger_key="PAGE_DOWN"> + + + + + + + + + \ No newline at end of file