opt: video progressbar

Closes #507
Closes #514

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-24 21:29:28 +08:00
parent a611a88f69
commit bf464994df
2 changed files with 46 additions and 42 deletions

View File

@@ -450,7 +450,9 @@ class _PostPanelState extends CommonCollapseSlidePageState<PostPanel> {
updateSegment(
isFirst: isFirst,
index: index,
value: isFirst ? 0 : plPlayerController.duration.value.inSeconds,
value: isFirst
? 0
: plPlayerController.durationSeconds.value.inSeconds,
);
});
},