Skip to content

armgit / ente

Public Imported from GitHub
0

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

update font style

AmanRajSinghMouryafdcbda122d4d
diff --git a/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_device_empty_state.dart b/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_device_empty_state.dart
index 296ab17dc1..0b46be4b24 100644
--- a/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_device_empty_state.dart
+++ b/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_device_empty_state.dart
@@ -60,14 +60,7 @@ class OnDeviceEmptyState extends StatelessWidget {
Text(
strings.allowAccessToYourPhotos,
textAlign: TextAlign.center,
- style: TextStyle(
- fontFamily: "Nunito",
- fontWeight: FontWeight.w800,
- fontSize: 24,
- height: 28 / 24,
- letterSpacing: 0,
- color: colors.textBase,
- ),
+ style: TextStyles.display2.copyWith(color: colors.textBase),
),
const SizedBox(height: 24),
SizedBox(
diff --git a/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_ente_empty_state.dart b/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_ente_empty_state.dart
index cca8329d2c..0f8c484210 100644
--- a/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_ente_empty_state.dart
+++ b/mobile/apps/photos/lib/ui/tabs/albums/empty_states/on_ente_empty_state.dart
@@ -39,14 +39,7 @@ class OnEnteEmptyState extends StatelessWidget {
Text(
strings.albumsOnEnteEmptyTitle,
textAlign: TextAlign.center,
- style: TextStyle(
- fontFamily: "Nunito",
- fontWeight: FontWeight.w800,
- fontSize: 24,
- height: 28 / 24,
- letterSpacing: 0,
- color: colors.textBase,
- ),
+ style: TextStyles.display2.copyWith(color: colors.textBase),
),
const SizedBox(height: 24),
SizedBox(
diff --git a/mobile/apps/photos/lib/ui/tabs/albums/empty_states/shared_empty_state.dart b/mobile/apps/photos/lib/ui/tabs/albums/empty_states/shared_empty_state.dart
index e511c34eae..627c7db148 100644
--- a/mobile/apps/photos/lib/ui/tabs/albums/empty_states/shared_empty_state.dart
+++ b/mobile/apps/photos/lib/ui/tabs/albums/empty_states/shared_empty_state.dart
@@ -41,14 +41,7 @@ class SharedEmptyState extends StatelessWidget {
Text(
strings.albumsSharedEmptyTitle,
textAlign: TextAlign.center,
- style: TextStyle(
- fontFamily: "Nunito",
- fontWeight: FontWeight.w800,
- fontSize: 24,
- height: 28 / 24,
- letterSpacing: 0,
- color: colors.textBase,
- ),
+ style: TextStyles.display2.copyWith(color: colors.textBase),
),
const SizedBox(height: 24),
SizedBox(