Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] UI fixes on native video player

ashilkn09c3d9e025fb
diff --git a/mobile/lib/ui/viewer/file/native_video_player_controls/play_pause_button.dart b/mobile/lib/ui/viewer/file/native_video_player_controls/play_pause_button.dart
index 676cfb4a32..3cc2cdad2d 100644
--- a/mobile/lib/ui/viewer/file/native_video_player_controls/play_pause_button.dart
+++ b/mobile/lib/ui/viewer/file/native_video_player_controls/play_pause_button.dart
@@ -1,6 +1,6 @@
import "package:flutter/material.dart";
import "package:native_video_player/native_video_player.dart";
-import "package:photos/theme/ente_theme.dart";
+import "package:photos/theme/colors.dart";
class PlayPauseButton extends StatefulWidget {
final NativeVideoPlayerController? controller;
@@ -36,7 +36,7 @@ class _PlayPauseButtonState extends State<PlayPauseButton> {
color: Colors.black.withOpacity(0.3),
shape: BoxShape.circle,
border: Border.all(
- color: getEnteColorScheme(context).strokeFaint,
+ color: strokeFaintDark,
width: 1,
),
),
diff --git a/mobile/lib/ui/viewer/file/video_widget_native.dart b/mobile/lib/ui/viewer/file/video_widget_native.dart
index 1daa8c2adc..5ea40abee0 100644
--- a/mobile/lib/ui/viewer/file/video_widget_native.dart
+++ b/mobile/lib/ui/viewer/file/video_widget_native.dart
@@ -206,8 +206,7 @@ class _VideoWidgetNativeState extends State<VideoWidgetNative>
Radius.circular(8),
),
border: Border.all(
- color: getEnteColorScheme(context)
- .strokeFaint,
+ color: strokeFaintDark,
width: 1,
),
),