minor change

This commit is contained in:
Thibault Deckers 2021-04-19 16:10:53 +09:00
parent e1362fc40c
commit f34ed2f985

View file

@ -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],
);
}), }),
), ),
], ],