feat: 修复bug

pull/241/head
gedoor 5 years ago
parent 5bfecea0ce
commit 41b5e27f0f
  1. 2
      app/src/main/java/io/legado/app/service/TTSReadAloudService.kt

@ -72,7 +72,7 @@ class TTSReadAloudService : BaseReadAloudService(), TextToSpeech.OnInitListener
execute {
MediaHelp.playSilentSound(this@TTSReadAloudService)
textToSpeech?.let {
it.stop()
it.speak("", TextToSpeech.QUEUE_FLUSH, null, null)
for (i in nowSpeak until contentList.size) {
it.speak(
contentList[i],

Loading…
Cancel
Save