diff --git a/app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudConfigDialog.kt b/app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudConfigDialog.kt index 74ec5b18c..f0bfd6231 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudConfigDialog.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudConfigDialog.kt @@ -92,15 +92,12 @@ class ReadAloudConfigDialog : DialogFragment() { } } "readAloudOnLine" -> { - ReadAloud.stop(requireContext()) - ReadAloud.aloudClass = ReadAloud.getReadAloudClass() - } - "ttsSpeechPer" -> { if (BaseReadAloudService.isRun) { ReadAloud.stop(requireContext()) - postEvent(Bus.READ_ALOUD_BUTTON, true) + ReadAloud.aloudClass = ReadAloud.getReadAloudClass() } } + "ttsSpeechPer" -> ReadAloud.upTtsSpeechRate(requireContext()) } }