This commit is contained in:
Horis
2024-03-05 18:29:16 +08:00
parent b1d12d3483
commit 20a88174eb
@@ -343,11 +343,7 @@ object ReadBook : CoroutineScope by MainScope() {
fun readAloud(play: Boolean = true, startPos: Int = 0) {
book ?: return
if (isLayoutAvailable) {
if (!BaseReadAloudService.isRun) {
ReadAloud.play(appCtx, play, startPos = startPos)
} else {
ReadAloud.playByEventBus(play, startPos = startPos)
}
}
}