Update HttpReadAloudService.kt

This commit is contained in:
Ktouls
2026-01-17 06:39:29 +08:00
committed by Kudomaga
parent 846a7379d8
commit 9cc745e7fb
@@ -196,7 +196,6 @@ class HttpReadAloudService : BaseReadAloudService(),
val contentList = textChapter.getNeedReadAloud(0, readAloudByPage, 0, 1) val contentList = textChapter.getNeedReadAloud(0, readAloudByPage, 0, 1)
.splitToSequence("\n") .splitToSequence("\n")
.filter { it.isNotEmpty() } .filter { it.isNotEmpty() }
.take(10)
.toList() .toList()
contentList.forEach { content -> contentList.forEach { content ->
currentCoroutineContext().ensureActive() currentCoroutineContext().ensureActive()