π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Minor UI enhancements on native video player controls
ashilkn553e62dfae42
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.dartindex 9ad34fc4e8..2b79ddba0d 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,5 +1,6 @@import "package:flutter/material.dart";import "package:native_video_player/native_video_player.dart";+import "package:photos/theme/ente_theme.dart";class PlayPauseButton extends StatefulWidget {final NativeVideoPlayerController? controller;@@ -34,6 +35,10 @@ class _PlayPauseButtonState extends State<PlayPauseButton> {decoration: BoxDecoration(color: Colors.black.withOpacity(0.3),shape: BoxShape.circle,+ border: Border.all(+ color: getEnteColorScheme(context).strokeFaint,+ width: 1,+ ),),child: AnimatedSwitcher(duration: const Duration(milliseconds: 250),diff --git a/mobile/lib/ui/viewer/file/native_video_player_controls/seek_bar.dart b/mobile/lib/ui/viewer/file/native_video_player_controls/seek_bar.dartindex b4076c85ef..886156b899 100644--- a/mobile/lib/ui/viewer/file/native_video_player_controls/seek_bar.dart+++ b/mobile/lib/ui/viewer/file/native_video_player_controls/seek_bar.dart@@ -67,7 +67,7 @@ class _SeekBarState extends State<SeekBar> with SingleTickerProviderStateMixin {activeTrackColor: colorScheme.primary300,inactiveTrackColor: fillMutedDark,thumbColor: backgroundElevatedLight,- overlayColor: Colors.red.withOpacity(0.4),+ overlayColor: fillMutedDark,),child: Slider(min: 0.0,diff --git a/mobile/lib/ui/viewer/file/video_widget_native.dart b/mobile/lib/ui/viewer/file/video_widget_native.dartindex e130a7edab..61e4cac8ea 100644--- a/mobile/lib/ui/viewer/file/video_widget_native.dart+++ b/mobile/lib/ui/viewer/file/video_widget_native.dart@@ -191,11 +191,17 @@ class _VideoWidgetNativeState extends State<VideoWidgetNative>borderRadius: const BorderRadius.all(Radius.circular(8),),+ border: Border.all(+ color: getEnteColorScheme(context)+ .strokeFaint,+ width: 1,+ ),),child: Row(children: [AnimatedSize(duration: const Duration(seconds: 5),+ curve: Curves.easeInOut,child: ValueListenableBuilder(valueListenable: _controller!.onPlaybackPositionChanged,