Skip to content

armgit / ente

Public Imported from GitHub
0

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

[auth] Fix text overflow in provider icon circles

Prateek Sunal0925ccecdb9e
diff --git a/mobile/apps/auth/lib/ui/utils/icon_utils.dart b/mobile/apps/auth/lib/ui/utils/icon_utils.dart
index 11a7b36850..3476e73c74 100644
--- a/mobile/apps/auth/lib/ui/utils/icon_utils.dart
+++ b/mobile/apps/auth/lib/ui/utils/icon_utils.dart
@@ -142,8 +142,14 @@ class IconUtils {
providerTitle.toUpperCase()[0],
// fixed color
style: showLargeIcon
- ? getEnteTextTheme(context).h3Bold.copyWith(color: Colors.white)
- : getEnteTextTheme(context).body.copyWith(color: Colors.white),
+ ? getEnteTextTheme(context).h3Bold.copyWith(
+ color: Colors.white,
+ fontSize: width * 0.6,
+ )
+ : getEnteTextTheme(context).body.copyWith(
+ color: Colors.white,
+ fontSize: width * 0.6,
+ ),
),
);
} else {