High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix: shrink age view to fit and not overflow (#22405)
Brandon Wees2594cd47ab07
diff --git a/mobile/lib/presentation/widgets/asset_viewer/bottom_sheet/sheet_people_details.widget.dart b/mobile/lib/presentation/widgets/asset_viewer/bottom_sheet/sheet_people_details.widget.dartindex fee34bca1b..64f22eca92 100644--- a/mobile/lib/presentation/widgets/asset_viewer/bottom_sheet/sheet_people_details.widget.dart+++ b/mobile/lib/presentation/widgets/asset_viewer/bottom_sheet/sheet_people_details.widget.dart@@ -11,8 +11,8 @@ import 'package:immich_mobile/providers/infrastructure/people.provider.dart';import 'package:immich_mobile/providers/routes.provider.dart';import 'package:immich_mobile/routing/router.dart';import 'package:immich_mobile/services/api.service.dart';-import 'package:immich_mobile/utils/people.utils.dart';import 'package:immich_mobile/utils/image_url_builder.dart';+import 'package:immich_mobile/utils/people.utils.dart';class SheetPeopleDetails extends ConsumerStatefulWidget {const SheetPeopleDetails({super.key});@@ -158,11 +158,14 @@ class _PeopleAvatar extends StatelessWidget {maxLines: 1,),if (person.birthDate != null)- Text(- formatAge(person.birthDate!, assetFileCreatedAt),- textAlign: TextAlign.center,- style: context.textTheme.bodyMedium?.copyWith(- color: context.textTheme.bodyMedium?.color?.withAlpha(175),+ FittedBox(+ fit: BoxFit.scaleDown,+ child: Text(+ formatAge(person.birthDate!, assetFileCreatedAt),+ textAlign: TextAlign.center,+ style: context.textTheme.bodyMedium?.copyWith(+ color: context.textTheme.bodyMedium?.color?.withAlpha(175),+ ),),),],