High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(mobile): capitalize month & day labels in beta timeline (#21323)
Yarosd5fec0edabbd
diff --git a/mobile/lib/presentation/widgets/timeline/header.widget.dart b/mobile/lib/presentation/widgets/timeline/header.widget.dartindex b8c6668a38..8e383a1477 100644--- a/mobile/lib/presentation/widgets/timeline/header.widget.dart+++ b/mobile/lib/presentation/widgets/timeline/header.widget.dart@@ -57,7 +57,10 @@ class TimelineHeader extends StatelessWidget {if (isMonthHeader)Row(children: [- Text(_formatMonth(context, date), style: context.textTheme.labelLarge?.copyWith(fontSize: 24)),+ Text(+ toBeginningOfSentenceCase(_formatMonth(context, date)),+ style: context.textTheme.labelLarge?.copyWith(fontSize: 24),+ ),const Spacer(),if (header != HeaderType.monthAndDay) _BulkSelectIconButton(bucket: bucket, assetOffset: assetOffset),],@@ -65,7 +68,10 @@ class TimelineHeader extends StatelessWidget {if (isDayHeader)Row(children: [- Text(_formatDay(context, date), style: context.textTheme.labelLarge?.copyWith(fontSize: 15)),+ Text(+ toBeginningOfSentenceCase(_formatDay(context, date)),+ style: context.textTheme.labelLarge?.copyWith(fontSize: 15),+ ),const Spacer(),_BulkSelectIconButton(bucket: bucket, assetOffset: assetOffset),],