minor change
This commit is contained in:
parent
e1362fc40c
commit
f34ed2f985
1 changed files with 4 additions and 1 deletions
|
@ -178,7 +178,10 @@ class _VideoControlOverlayState extends State<VideoControlOverlay> with SingleTi
|
||||||
// do not use stream snapshot because it is obsolete when switching between videos
|
// do not use stream snapshot because it is obsolete when switching between videos
|
||||||
var progress = controller.progress;
|
var progress = controller.progress;
|
||||||
if (!progress.isFinite) progress = 0.0;
|
if (!progress.isFinite) progress = 0.0;
|
||||||
return LinearProgressIndicator(value: progress);
|
return LinearProgressIndicator(
|
||||||
|
value: progress,
|
||||||
|
backgroundColor: Colors.grey[700],
|
||||||
|
);
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue