π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Center details chips
laurenspriemce929904a75e
diff --git a/mobile/apps/photos/lib/ui/wrapped/cards/shared_widgets.dart b/mobile/apps/photos/lib/ui/wrapped/cards/shared_widgets.dartindex dcfc29dbfc..5422fca6eb 100644--- a/mobile/apps/photos/lib/ui/wrapped/cards/shared_widgets.dart+++ b/mobile/apps/photos/lib/ui/wrapped/cards/shared_widgets.dart@@ -92,26 +92,31 @@ class _DetailChips extends StatelessWidget {if (chips.isEmpty) {return const SizedBox.shrink();}- return Wrap(- spacing: 10,- runSpacing: 8,- children: chips- .map(- (String chip) => Container(- padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 8),- decoration: BoxDecoration(- color: colorScheme.fillFaint,- borderRadius: BorderRadius.circular(14),- ),- child: Text(- chip,- style: textTheme.smallMuted.copyWith(- color: textTheme.smallMuted.color ?? colorScheme.fillMuted,+ return SizedBox(+ width: double.infinity,+ child: Wrap(+ alignment: WrapAlignment.center,+ runAlignment: WrapAlignment.center,+ spacing: 10,+ runSpacing: 8,+ children: chips+ .map(+ (String chip) => Container(+ padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 8),+ decoration: BoxDecoration(+ color: colorScheme.fillFaint,+ borderRadius: BorderRadius.circular(14),+ ),+ child: Text(+ chip,+ style: textTheme.smallMuted.copyWith(+ color: textTheme.smallMuted.color ?? colorScheme.fillMuted,+ ),),),- ),- )- .toList(growable: false),+ )+ .toList(growable: false),+ ),);}}