Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] align search section header typography

ashil-pilot4af557edc7c6
diff --git a/mobile/apps/photos/changes/search-section-header-style.md b/mobile/apps/photos/changes/search-section-header-style.md
new file mode 100644
index 0000000000..0a07fdf2e8
--- /dev/null
+++ b/mobile/apps/photos/changes/search-section-header-style.md
@@ -0,0 +1 @@
+- Fixed inconsistent section header typography on the search tab.
diff --git a/mobile/apps/photos/lib/ui/viewer/search_tab/contacts_section.dart b/mobile/apps/photos/lib/ui/viewer/search_tab/contacts_section.dart
index c4a34d95cf..e7ccc33223 100644
--- a/mobile/apps/photos/lib/ui/viewer/search_tab/contacts_section.dart
+++ b/mobile/apps/photos/lib/ui/viewer/search_tab/contacts_section.dart
@@ -147,7 +147,7 @@ class _ContactsSectionState extends State<ContactsSection> {
children: [
Text(
SectionType.contacts.sectionTitle(context),
- style: TextStyles.h2.copyWith(color: colors.textBase),
+ style: TextStyles.display3.copyWith(color: colors.textBase),
),
const SizedBox(height: 16),
Text(
diff --git a/mobile/apps/photos/lib/ui/viewer/search_tab/file_type_section.dart b/mobile/apps/photos/lib/ui/viewer/search_tab/file_type_section.dart
index 7d5284cd0e..f865fdb5bb 100644
--- a/mobile/apps/photos/lib/ui/viewer/search_tab/file_type_section.dart
+++ b/mobile/apps/photos/lib/ui/viewer/search_tab/file_type_section.dart
@@ -41,7 +41,7 @@ class FileTypeSection extends StatelessWidget {
children: [
Text(
SectionType.fileTypesAndExtension.sectionTitle(context),
- style: TextStyles.h2.copyWith(
+ style: TextStyles.display3.copyWith(
color: textTheme.largeBold.color,
),
),
diff --git a/mobile/apps/photos/lib/ui/viewer/search_tab/locations_section.dart b/mobile/apps/photos/lib/ui/viewer/search_tab/locations_section.dart
index 195a21e4db..76de65e0ba 100644
--- a/mobile/apps/photos/lib/ui/viewer/search_tab/locations_section.dart
+++ b/mobile/apps/photos/lib/ui/viewer/search_tab/locations_section.dart
@@ -91,7 +91,7 @@ class _LocationsSectionState extends State<LocationsSection> {
children: [
Text(
SectionType.location.sectionTitle(context),
- style: TextStyles.h2.copyWith(color: colors.textBase),
+ style: TextStyles.display3.copyWith(color: colors.textBase),
),
const SizedBox(height: 16),
Text(
diff --git a/mobile/apps/photos/lib/ui/viewer/search_tab/people_section.dart b/mobile/apps/photos/lib/ui/viewer/search_tab/people_section.dart
index 30d47373ee..d9068a4781 100644
--- a/mobile/apps/photos/lib/ui/viewer/search_tab/people_section.dart
+++ b/mobile/apps/photos/lib/ui/viewer/search_tab/people_section.dart
@@ -126,7 +126,7 @@ class _PeopleSectionState extends State<PeopleSection> {
children: [
Text(
widget.sectionType.sectionTitle(context),
- style: TextStyles.h2.copyWith(
+ style: TextStyles.display3.copyWith(
color: textTheme.largeBold.color,
),
),