From 628f3b0a7ca04a8b9f5cae05a968d8127cf8d358 Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 11 Jan 2020 21:28:38 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/ui/rss/read/ReadRssViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/rss/read/ReadRssViewModel.kt b/app/src/main/java/io/legado/app/ui/rss/read/ReadRssViewModel.kt index ba9903de4..5af6841e9 100644 --- a/app/src/main/java/io/legado/app/ui/rss/read/ReadRssViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/rss/read/ReadRssViewModel.kt @@ -111,7 +111,7 @@ class ReadRssViewModel(application: Application) : BaseViewModel(application), fun readAloud(text: String) { textToSpeech.stop() - text.split(" ").forEach { + text.split("\n", " ", "  ").forEach { textToSpeech.speak(it, TextToSpeech.QUEUE_ADD, null, "rss") } }