pull/32/head
kunfei 5 years ago
parent b25124d7cc
commit 25da02eed5
  1. 14
      app/src/main/java/io/legado/app/service/ReadAloudService.kt

@ -230,13 +230,19 @@ class ReadAloudService : BaseService(), TextToSpeech.OnInitListener, AudioManage
}
private fun prevP() {
nowSpeak++
playTTS()
if (nowSpeak < contentList.size - 1) {
readAloudNumber += contentList[nowSpeak].length
nowSpeak++
playTTS()
}
}
private fun nextP() {
nowSpeak--
playTTS()
if (nowSpeak > 0) {
nowSpeak--
readAloudNumber -= contentList[nowSpeak].length
playTTS()
}
}
/**

Loading…
Cancel
Save