Skip to content

armgit / ente

Public Imported from GitHub
0

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

Use consistent Inter font for "On ente" section title

ashilknb0cd7ac670b8
diff --git a/mobile/apps/photos/lib/ui/tabs/section_title.dart b/mobile/apps/photos/lib/ui/tabs/section_title.dart
index dd6611f605..fca416635e 100644
--- a/mobile/apps/photos/lib/ui/tabs/section_title.dart
+++ b/mobile/apps/photos/lib/ui/tabs/section_title.dart
@@ -1,7 +1,6 @@
import 'package:flutter/material.dart';
import "package:photos/generated/l10n.dart";
import 'package:photos/theme/ente_theme.dart';
-import 'package:photos/theme/text_style.dart';
import "package:styled_text/styled_text.dart";
class SectionTitle extends StatelessWidget {
@@ -83,19 +82,21 @@ class SectionOptions extends StatelessWidget {
}
Widget getOnEnteSection(BuildContext context) {
- final EnteTextTheme textTheme = getEnteTextTheme(context);
+ final textTheme = getEnteTextTheme(context);
+
+ final style = TextStyle(
+ fontWeight: FontWeight.w600,
+ fontFamily: 'Inter',
+ fontSize: 21,
+ color: textTheme.largeBold.color,
+ );
return StyledText(
text: AppLocalizations.of(context).onEnte,
- style: TextStyle(
- fontWeight: FontWeight.w600,
- fontFamily: 'Inter',
- fontSize: 21,
- color: textTheme.brandSmall.color,
- ),
+ style: style,
tags: {
'branding': StyledTextTag(
- style: textTheme.brandSmall,
+ style: style,
),
},
);