From 61d88b0b6351137f4f3c24570b2bb7c40c7bf7ae Mon Sep 17 00:00:00 2001 From: kunfei Date: Sun, 1 Sep 2019 19:03:07 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/readbook/ReadBookActivity.kt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt index 935f17640..ad45d60d2 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt @@ -283,12 +283,9 @@ class ReadBookActivity : VMBaseActivity(R.layout.activity_rea || readAloudStatus != Status.PLAY ) { when (direction) { - PageDelegate.Direction.PREV -> { - - } - PageDelegate.Direction.NEXT -> { - - } + PageDelegate.Direction.PREV -> page_view.moveToPrevPage() + PageDelegate.Direction.NEXT -> page_view.moveToNextPage() + else -> return true } return true }