pull/34/head
kunfei 5 years ago
parent 0361ed8b18
commit 3582bf839f
  1. 7
      app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudConfigDialog.kt

@ -92,15 +92,12 @@ class ReadAloudConfigDialog : DialogFragment() {
} }
} }
"readAloudOnLine" -> { "readAloudOnLine" -> {
ReadAloud.stop(requireContext())
ReadAloud.aloudClass = ReadAloud.getReadAloudClass()
}
"ttsSpeechPer" -> {
if (BaseReadAloudService.isRun) { if (BaseReadAloudService.isRun) {
ReadAloud.stop(requireContext()) ReadAloud.stop(requireContext())
postEvent(Bus.READ_ALOUD_BUTTON, true) ReadAloud.aloudClass = ReadAloud.getReadAloudClass()
} }
} }
"ttsSpeechPer" -> ReadAloud.upTtsSpeechRate(requireContext())
} }
} }

Loading…
Cancel
Save