pull/84/head
kunfei 5 years ago
parent 5522533bc1
commit 1dd1ad163b
  1. 2
      app/src/main/java/io/legado/app/service/HttpReadAloudService.kt

@ -80,7 +80,7 @@ class HttpReadAloudService : BaseReadAloudService(),
if (bytes != null && isActive) {
val file = getSpeakFile(index)
file.writeBytes(bytes)
if (index == nowSpeak && !pause) {
if (index == nowSpeak) {
playAudio(FileInputStream(file).fd)
}
}

Loading…
Cancel
Save