Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Set faces timeline title to Memory lane

laurenspriem9f1c67c68895
diff --git a/mobile/apps/photos/lib/l10n/intl_en.arb b/mobile/apps/photos/lib/l10n/intl_en.arb
index cb52dd262e..0d5745eb2e 100644
--- a/mobile/apps/photos/lib/l10n/intl_en.arb
+++ b/mobile/apps/photos/lib/l10n/intl_en.arb
@@ -2005,15 +2005,9 @@
}
}
},
- "facesTimelineAppBarTitle": "{name}'s faces timeline",
+ "facesTimelineAppBarTitle": "Memory lane",
"@facesTimelineAppBarTitle": {
- "description": "Faces timeline page title shown in the app bar",
- "placeholders": {
- "name": {
- "type": "String",
- "description": "The person's display name"
- }
- }
+ "description": "Faces timeline page title shown in the app bar"
},
"facesTimelineCaptionYearsOld": "{name} was {count, plural, one {{count} year old} other {{count} years old}}",
"@facesTimelineCaptionYearsOld": {
diff --git a/mobile/apps/photos/lib/ui/viewer/people/faces_timeline_page.dart b/mobile/apps/photos/lib/ui/viewer/people/faces_timeline_page.dart
index 344967db57..0da0cec4f5 100644
--- a/mobile/apps/photos/lib/ui/viewer/people/faces_timeline_page.dart
+++ b/mobile/apps/photos/lib/ui/viewer/people/faces_timeline_page.dart
@@ -308,17 +308,21 @@ class _FacesTimelinePageState extends State<FacesTimelinePage>
child: Builder(
builder: (context) {
final l10n = context.l10n;
- final title = l10n.facesTimelineAppBarTitle(
- name: widget.person.data.name,
- );
+ final title = l10n.facesTimelineAppBarTitle;
final colorScheme = getEnteColorScheme(context);
final textTheme = getEnteTextTheme(context);
+ final titleStyle = textTheme.h2Bold.copyWith(
+ letterSpacing: -2,
+ );
return Scaffold(
backgroundColor: colorScheme.backgroundBase,
appBar: AppBar(
backgroundColor: colorScheme.backgroundBase,
foregroundColor: colorScheme.textBase,
- title: Text(title),
+ title: Text(
+ title,
+ style: titleStyle,
+ ),
),
body: FutureBuilder<List<_TimelineFrame>>(
future: _framesFuture,