From 38cdb80cdcb066001410e2351a18b8e66755ddf1 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 27 Aug 2019 21:13:54 +0800 Subject: [PATCH] up --- .../java/io/legado/app/ui/readbook/config/ReadAloudDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudDialog.kt b/app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudDialog.kt index 29314fc51..65282b558 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudDialog.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudDialog.kt @@ -113,7 +113,7 @@ class ReadAloudDialog : DialogFragment() { 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_prev.onClick { ReadAloudService.prevParagraph(requireContext()) } iv_play_next.onClick { ReadAloudService.nextParagraph(requireContext()) }