From 9b0483f760cf808517c68d1dd52a8dbfa3b465de Mon Sep 17 00:00:00 2001 From: gedoor Date: Tue, 21 Sep 2021 23:41:33 +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 --- .../main/java/io/legado/app/service/HttpReadAloudService.kt | 4 +--- 1 file changed, 1 insertion(+), 3 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 d065b4927..12f9b35ab 100644 --- a/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt +++ b/app/src/main/java/io/legado/app/service/HttpReadAloudService.kt @@ -265,9 +265,7 @@ class HttpReadAloudService : BaseReadAloudService(), errorNo++ if (errorNo >= 3) { toastOnUi("朗读连续3次错误, 最后一次错误代码($what, $extra)") - } - launch { - delay(500) + } else { playNext() } return true