1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-21 18:16:55 +02:00

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

* fix(mobile): duration ui overflow

* pr feedback
This commit is contained in:
Alex 2024-11-13 09:39:21 -06:00 committed by GitHub
parent 4ca27a3e7f
commit 3dad19883d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(