diff --git a/composeApp/src/commonMain/kotlin/win/taptap/musicmanager/client/store/AppStore.kt b/composeApp/src/commonMain/kotlin/win/taptap/musicmanager/client/store/AppStore.kt index 3441599..f8a9032 100644 --- a/composeApp/src/commonMain/kotlin/win/taptap/musicmanager/client/store/AppStore.kt +++ b/composeApp/src/commonMain/kotlin/win/taptap/musicmanager/client/store/AppStore.kt @@ -808,7 +808,6 @@ class AppStore( } private fun restartCurrent(song: Song) { - reportCurrentProgress(completed = false) if (player.canSeek) { player.seekTo(0.0) _state.update { it.copy(positionSeconds = 0.0) } @@ -816,6 +815,8 @@ class AppStore( _state.update { it.copy(playing = true, positionSeconds = 0.0) } startSong(song) } + // Persist the restarted position for long-form right away. + reportCurrentProgress(completed = false) } fun seekTo(seconds: Double) {