From f8b105303c8faabec616b1d46418751b81cc6ac8 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 23 Apr 2022 20:58:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/legado/app/service/HttpReadAloudService.kt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt b/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt index 0673f27d0..713b3a688 100644 --- a/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt +++ b/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt @@ -66,12 +66,9 @@ class HttpReadAloudService : BaseReadAloudService(), super.play() kotlin.runCatching { val tts = ReadAloud.httpTTS ?: throw NoStackTraceException("httpTts is null") - val fileName = - md5SpeakFileName( - tts.url, - AppConfig.ttsSpeechRate.toString(), - contentList[nowSpeak] - ) + val fileName = md5SpeakFileName( + tts.url, AppConfig.ttsSpeechRate.toString(), contentList[nowSpeak] + ) if (nowSpeak == 0 && downloadTask?.isActive != true) { downloadAudio() } else {