This commit is contained in:
Horis
2025-12-06 22:46:28 +08:00
parent 4d7cb5c8b4
commit 083cb297b7
@@ -270,6 +270,7 @@ object AudioPlay : CoroutineScope by MainScope() {
fun skipTo(index: Int) {
Coroutine.async {
stopPlay()
if (index in 0..<simulatedChapterSize) {
durChapterIndex = index
durChapterPos = 0
durPlayUrl = ""
@@ -277,6 +278,7 @@ object AudioPlay : CoroutineScope by MainScope() {
loadPlayUrl()
}
}
}
fun prev() {
Coroutine.async {