mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-22 19:51:11 +08:00
refa: video progress indicator
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -136,8 +136,11 @@ class VideoCardHLater extends StatelessWidget {
|
||||
left: 0,
|
||||
bottom: 0,
|
||||
right: 0,
|
||||
child: videoProgressIndicator(
|
||||
progress == -1
|
||||
child: VideoProgressIndicator(
|
||||
color: theme.colorScheme.primary,
|
||||
backgroundColor:
|
||||
theme.colorScheme.secondaryContainer,
|
||||
progress: progress == -1
|
||||
? 1
|
||||
: progress / videoItem.duration!,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user