refactor progress bar

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-06-26 12:45:41 +08:00
parent 2ba6f0d063
commit a623ceee47
12 changed files with 263 additions and 391 deletions

View File

@@ -108,7 +108,7 @@ class ShutdownTimerService {
void _syncProgressAndExit() {
if (PlPlayerController.instance case final player?) {
final res = player.makeHeartBeat(
player.positionSeconds.value,
player.position.value,
type: .completed,
isManual: true,
);