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_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 }

Loading…
Cancel
Save