diff --git a/mobile/lib/widgets/asset_viewer/formatted_duration.dart b/mobile/lib/widgets/asset_viewer/formatted_duration.dart index b06d20287a99a..bf64a0c0024f3 100644 --- a/mobile/lib/widgets/asset_viewer/formatted_duration.dart +++ b/mobile/lib/widgets/asset_viewer/formatted_duration.dart @@ -19,7 +19,7 @@ class FormattedDuration extends StatelessWidget { @override Widget build(BuildContext context) { return SizedBox( - width: data.inHours > 0 ? 62 : 41, // use a fixed width to prevent jitter + width: data.inHours > 0 ? 64 : 43, // use a fixed width to prevent jitter child: Text( _formatDuration(data), style: const TextStyle( @@ -27,6 +27,7 @@ class FormattedDuration extends StatelessWidget { color: whiteOpacity75, fontWeight: FontWeight.normal, ), + textAlign: TextAlign.center, ), ); } diff --git a/mobile/lib/widgets/asset_viewer/video_mute_button.dart b/mobile/lib/widgets/asset_viewer/video_mute_button.dart index 6c0d0edb3414f..da0f6f31749c7 100644 --- a/mobile/lib/widgets/asset_viewer/video_mute_button.dart +++ b/mobile/lib/widgets/asset_viewer/video_mute_button.dart @@ -16,6 +16,8 @@ class VideoMuteButton extends ConsumerWidget { onPressed: () => ref.read(videoPlayerControlsProvider.notifier).toggleMute(), color: Colors.white, + padding: const EdgeInsets.all(0), + alignment: Alignment.centerRight, ); } }