mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 08:08:19 +08:00
refa: video progress indicator
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -224,8 +224,11 @@ class DetailItem extends StatelessWidget {
|
||||
child: Stack(
|
||||
clipBehavior: Clip.none,
|
||||
children: [
|
||||
videoProgressIndicator(
|
||||
progress / entry.totalTimeMilli,
|
||||
VideoProgressIndicator(
|
||||
color: theme.colorScheme.primary,
|
||||
backgroundColor:
|
||||
theme.colorScheme.secondaryContainer,
|
||||
progress: progress / entry.totalTimeMilli,
|
||||
),
|
||||
PBadge(
|
||||
text: progress >= entry.totalTimeMilli - 400
|
||||
|
||||
Reference in New Issue
Block a user