From d146f83d0e3140c0a24323c91b1d097cd3824110 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 30 Nov 2019 20:23:08 +0800 Subject: [PATCH] up --- .../io/legado/app/ui/book/read/config/ReadAloudDialog.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/book/read/config/ReadAloudDialog.kt b/app/src/main/java/io/legado/app/ui/book/read/config/ReadAloudDialog.kt index 92c6e2c2d..553d18576 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/config/ReadAloudDialog.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/config/ReadAloudDialog.kt @@ -110,10 +110,8 @@ class ReadAloudDialog : DialogFragment() { iv_play_pause.onClick { callBack?.onClickReadAloud() } iv_play_prev.onClick { ReadAloud.prevParagraph(requireContext()) } iv_play_prev.onLongClick { - ReadBook.moveToPrevChapter( - upContent = true, - toLast = false - ); true + ReadBook.moveToPrevChapter(upContent = true, toLast = false) + true } iv_play_next.onClick { ReadAloud.nextParagraph(requireContext()) } iv_play_next.onLongClick { ReadBook.moveToNextChapter(true); true }