Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Refine video duration label

ashilknc0b02e232715
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.dart
index 80f8085589..cef5afaf23 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
@@ -99,7 +99,7 @@ class GalleryVideoProgressRow extends StatelessWidget {
@override
Widget build(BuildContext context) {
final safePadding = MediaQuery.paddingOf(context);
- final timeStyle = getEnteTextTheme(context).tiny.copyWith(
+ final timeStyle = getEnteTextTheme(context).mini.copyWith(
color: textBaseDark.withValues(alpha: 0.85),
fontFeatures: const [FontFeature.tabularFigures()],
);
@@ -114,10 +114,7 @@ class GalleryVideoProgressRow extends StatelessWidget {
children: [
Expanded(child: seekBar),
const SizedBox(width: 16),
- Transform.translate(
- offset: const Offset(0, -1),
- child: Text('$elapsedTime / $totalTime', style: timeStyle),
- ),
+ Text('$elapsedTime / $totalTime', style: timeStyle),
const SizedBox(width: 7),
const VideoMuteButton(),
],