π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Refine video mute control
ashilkn89169c638fc7
diff --git a/mobile/apps/photos/lib/ui/viewer/file/video_control/gallery_video_controls.dart b/mobile/apps/photos/lib/ui/viewer/file/video_control/gallery_video_controls.dartindex 48f1f3288d..a10f5a1643 100644--- a/mobile/apps/photos/lib/ui/viewer/file/video_control/gallery_video_controls.dart+++ b/mobile/apps/photos/lib/ui/viewer/file/video_control/gallery_video_controls.dart@@ -5,6 +5,8 @@ import "package:photos/ui/viewer/file/video_control/mute_button.dart";const kGalleryVideoProgressBottom = 64.0;const kGalleryVideoProgressHeight = 16.0;+const kGalleryVideoProgressRowBottom = 56.0;+const kGalleryVideoProgressRowHeight = 32.0;const kGalleryVideoCaptionGap = 6.0;const kGalleryVideoCaptionLineHeight = 16.0;const kGalleryVideoScrimTopPadding = 12.0;@@ -101,7 +103,7 @@ class GalleryVideoProgressRow extends StatelessWidget {right: safePadding.right + 16,),child: SizedBox(- height: kGalleryVideoProgressHeight,+ height: kGalleryVideoProgressRowHeight,child: Row(children: [Expanded(child: seekBar),diff --git a/mobile/apps/photos/lib/ui/viewer/file/video_control/mute_button.dart b/mobile/apps/photos/lib/ui/viewer/file/video_control/mute_button.dartindex f0ed55ff3b..c3d9864095 100644--- a/mobile/apps/photos/lib/ui/viewer/file/video_control/mute_button.dart+++ b/mobile/apps/photos/lib/ui/viewer/file/video_control/mute_button.dart@@ -40,13 +40,14 @@ class _VideoMuteButtonState extends State<VideoMuteButton> {Widget build(BuildContext context) {return SizedBox(width: 32,- height: 16,+ height: 32,child: IconButton(padding: EdgeInsets.zero,constraints: const BoxConstraints(),style: IconButton.styleFrom(minimumSize: Size.zero,tapTargetSize: MaterialTapTargetSize.shrinkWrap,+ overlayColor: Colors.transparent,),icon: AnimatedSwitcher(duration: const Duration(milliseconds: 250),diff --git a/mobile/apps/photos/lib/ui/viewer/file/video_widget_media_kit_common.dart b/mobile/apps/photos/lib/ui/viewer/file/video_widget_media_kit_common.dartindex 40a461d01a..6ae35ca257 100644--- a/mobile/apps/photos/lib/ui/viewer/file/video_widget_media_kit_common.dart+++ b/mobile/apps/photos/lib/ui/viewer/file/video_widget_media_kit_common.dart@@ -171,7 +171,7 @@ class _VideoWidgetState extends State<VideoWidget> {widget.isFromMemories? const SizedBox.shrink(): Positioned(- bottom: kGalleryVideoProgressBottom,+ bottom: kGalleryVideoProgressRowBottom,right: 0,left: 0,child: IgnorePointer(diff --git a/mobile/apps/photos/lib/ui/viewer/file/video_widget_native.dart b/mobile/apps/photos/lib/ui/viewer/file/video_widget_native.dartindex a0cfd51a35..5fde040d39 100644--- a/mobile/apps/photos/lib/ui/viewer/file/video_widget_native.dart+++ b/mobile/apps/photos/lib/ui/viewer/file/video_widget_native.dart@@ -417,7 +417,7 @@ class _VideoWidgetNativeState extends State<VideoWidgetNative>widget.isFromMemories? const SizedBox.shrink(): Positioned(- bottom: kGalleryVideoProgressBottom,+ bottom: kGalleryVideoProgressRowBottom,right: 0,left: 0,child: SafeArea(