Skip to content

High performance self-hosted photo and video management solution.

fix(mobile): duration ui overflow (#14120)

Alex3dad19883d2b
diff --git a/mobile/lib/widgets/asset_viewer/formatted_duration.dart b/mobile/lib/widgets/asset_viewer/formatted_duration.dart
index bf64a0c002..4a334cd7cc 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 ? 64 : 43, // use a fixed width to prevent jitter
+ width: data.inHours > 0 ? 70 : 60, // use a fixed width to prevent jitter
child: Text(
_formatDuration(data),
style: const TextStyle(