pull/49/head
kunfei 5 years ago
parent 4c52068f5e
commit d146f83d0e
  1. 6
      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_pause.onClick { callBack?.onClickReadAloud() }
iv_play_prev.onClick { ReadAloud.prevParagraph(requireContext()) } iv_play_prev.onClick { ReadAloud.prevParagraph(requireContext()) }
iv_play_prev.onLongClick { iv_play_prev.onLongClick {
ReadBook.moveToPrevChapter( ReadBook.moveToPrevChapter(upContent = true, toLast = false)
upContent = true, true
toLast = false
); true
} }
iv_play_next.onClick { ReadAloud.nextParagraph(requireContext()) } iv_play_next.onClick { ReadAloud.nextParagraph(requireContext()) }
iv_play_next.onLongClick { ReadBook.moveToNextChapter(true); true } iv_play_next.onLongClick { ReadBook.moveToNextChapter(true); true }

Loading…
Cancel
Save