|
|
@ -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()) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|