pull/32/head
kunfei 5 years ago
parent bbc18cf1bd
commit 40e7496147
  1. 5
      app/src/main/java/io/legado/app/service/ReadAloudService.kt

@ -295,6 +295,11 @@ class ReadAloudService : BaseService(), TextToSpeech.OnInitListener,
nowSpeak-- nowSpeak--
readAloudNumber -= contentList[nowSpeak].length.minus(1) readAloudNumber -= contentList[nowSpeak].length.minus(1)
playTTS() playTTS()
textChapter?.let {
if (readAloudNumber < it.getReadLength(pageIndex)) {
postEvent(Bus.TTS_TURN_PAGE, -1)
}
}
} }
} }

Loading…
Cancel
Save