pull/32/head
kunfei 5 years ago
parent 8c3e612dfd
commit 38cdb80cdc
  1. 2
      app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudDialog.kt

@ -113,7 +113,7 @@ class ReadAloudDialog : DialogFragment() {
dismiss() dismiss()
} }
} }
iv_stop.onClick { ReadAloudService.stop(requireContext()) } iv_stop.onClick { ReadAloudService.stop(requireContext()); dismiss() }
iv_play_pause.onClick { postEvent(Bus.READ_ALOUD_BUTTON, true) } iv_play_pause.onClick { postEvent(Bus.READ_ALOUD_BUTTON, true) }
iv_play_prev.onClick { ReadAloudService.prevParagraph(requireContext()) } iv_play_prev.onClick { ReadAloudService.prevParagraph(requireContext()) }
iv_play_next.onClick { ReadAloudService.nextParagraph(requireContext()) } iv_play_next.onClick { ReadAloudService.nextParagraph(requireContext()) }

Loading…
Cancel
Save