Skip to content

armgit / ente

Public Imported from GitHub
0

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

update font size

AmanRajSinghMourya66a0905f1e69
diff --git a/mobile/apps/photos/lib/ui/components/banners/name_face_banner.dart b/mobile/apps/photos/lib/ui/components/banners/name_face_banner.dart
index 429b70ef7a..3610dee1ca 100644
--- a/mobile/apps/photos/lib/ui/components/banners/name_face_banner.dart
+++ b/mobile/apps/photos/lib/ui/components/banners/name_face_banner.dart
@@ -81,8 +81,8 @@ class _NameFaceBannerState extends State<NameFaceBanner> {
style: TextStyle(
fontFamily: "Inter",
fontWeight: FontWeight.w500,
- fontSize: 10,
- height: 16 / 10,
+ fontSize: 12,
+ height: 16 / 12,
color: colorScheme.contentLight,
),
),
diff --git a/mobile/apps/photos/lib/ui/components/banners/save_faces_banner.dart b/mobile/apps/photos/lib/ui/components/banners/save_faces_banner.dart
index f2e0946726..ae13665226 100644
--- a/mobile/apps/photos/lib/ui/components/banners/save_faces_banner.dart
+++ b/mobile/apps/photos/lib/ui/components/banners/save_faces_banner.dart
@@ -84,8 +84,8 @@ class _SaveFacesBannerState extends State<SaveFacesBanner> {
style: TextStyle(
fontFamily: "Inter",
fontWeight: FontWeight.w500,
- fontSize: 10,
- height: 16 / 10,
+ fontSize: 12,
+ height: 16 / 12,
color: colorScheme.contentLight,
),
),
diff --git a/mobile/apps/photos/lib/ui/components/banners/shared_empty_offline_state_widget.dart b/mobile/apps/photos/lib/ui/components/banners/shared_empty_offline_state_widget.dart
index 102ef0d66f..2c74b288fa 100644
--- a/mobile/apps/photos/lib/ui/components/banners/shared_empty_offline_state_widget.dart
+++ b/mobile/apps/photos/lib/ui/components/banners/shared_empty_offline_state_widget.dart
@@ -9,7 +9,6 @@ class SharedEmptyOfflineStateWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
final colorScheme = getEnteColorScheme(context);
- final textTheme = getEnteTextTheme(context);
final l10n = AppLocalizations.of(context);
return Center(
@@ -39,7 +38,11 @@ class SharedEmptyOfflineStateWidget extends StatelessWidget {
Text(
l10n.offlineEnableSharingDesc,
textAlign: TextAlign.center,
- style: textTheme.body.copyWith(
+ style: TextStyle(
+ fontFamily: "Inter",
+ fontWeight: FontWeight.w500,
+ fontSize: 14,
+ height: 20 / 14,
color: colorScheme.textMuted,
),
),
diff --git a/mobile/apps/photos/lib/ui/offline/empty/on_ente.dart b/mobile/apps/photos/lib/ui/offline/empty/on_ente.dart
index 96be1bb5e3..7f91d3030b 100644
--- a/mobile/apps/photos/lib/ui/offline/empty/on_ente.dart
+++ b/mobile/apps/photos/lib/ui/offline/empty/on_ente.dart
@@ -52,8 +52,8 @@ class EmptyOnEnteSection extends StatelessWidget {
style: TextStyle(
fontFamily: "Inter",
fontWeight: FontWeight.w500,
- fontSize: 10,
- height: 16 / 10,
+ fontSize: 12,
+ height: 16 / 12,
color: colorScheme.textBase.withValues(alpha: 0.6),
),
),
@@ -74,9 +74,9 @@ class EmptyOnEnteSection extends StatelessWidget {
),
padding:
const EdgeInsets.symmetric(horizontal: 24, vertical: 18),
- child: const Text(
- "Start with 10 GB FREE",
- style: TextStyle(
+ child: Text(
+ l10n.offlineEnableBackupAction,
+ style: const TextStyle(
fontFamily: "Montserrat",
fontWeight: FontWeight.w600,
fontSize: 10,