Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix seekBar color at other places

Neeraj Guptab38c49502bd8
diff --git a/mobile/lib/ui/viewer/file/video_widget_media_kit.dart b/mobile/lib/ui/viewer/file/video_widget_media_kit.dart
index ae1f86dd6b..210d85ae12 100644
--- a/mobile/lib/ui/viewer/file/video_widget_media_kit.dart
+++ b/mobile/lib/ui/viewer/file/video_widget_media_kit.dart
@@ -142,7 +142,7 @@ class _VideoWidgetMediaKitState extends State<VideoWidgetMediaKit>
seekBarBufferColor: Colors.transparent,
seekBarThumbColor: backgroundElevatedLight,
seekBarColor: fillMutedDark,
- seekBarPositionColor: colorScheme.primary300,
+ seekBarPositionColor: backgroundElevatedLight,
seekBarContainerHeight: 56,
seekBarAlignment: Alignment.center,
diff --git a/mobile/lib/ui/viewer/file/video_widget_media_kit_common.dart b/mobile/lib/ui/viewer/file/video_widget_media_kit_common.dart
index f85b25d5d3..af7f048562 100644
--- a/mobile/lib/ui/viewer/file/video_widget_media_kit_common.dart
+++ b/mobile/lib/ui/viewer/file/video_widget_media_kit_common.dart
@@ -420,13 +420,12 @@ class _SeekBarState extends State<SeekBar> {
@override
Widget build(BuildContext context) {
- final colorScheme = getEnteColorScheme(context);
return SliderTheme(
data: SliderTheme.of(context).copyWith(
trackHeight: 1.0,
thumbShape: const RoundSliderThumbShape(enabledThumbRadius: 8.0),
overlayShape: const RoundSliderOverlayShape(overlayRadius: 14.0),
- activeTrackColor: colorScheme.primary300,
+ activeTrackColor: backgroundElevatedLight,
inactiveTrackColor: fillMutedDark,
thumbColor: backgroundElevatedLight,
overlayColor: fillMutedDark,