From 924bb251b8bc6d5209e8290066a0c5431d1a94c8 Mon Sep 17 00:00:00 2001 From: Thiago Carvalho <32248947+thiagocarvalhodev@users.noreply.github.com> Date: Thu, 12 Dec 2024 12:17:08 -0300 Subject: [PATCH] Update profile_card.dart fix icon size and alignment --- lib/components/profile_card.dart | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/components/profile_card.dart b/lib/components/profile_card.dart index 70475a53f..6bcfc12b2 100644 --- a/lib/components/profile_card.dart +++ b/lib/components/profile_card.dart @@ -714,8 +714,9 @@ class ProfileCardHeader extends StatelessWidget { return 100; } - double width = primaryName.length * 15; - return width.clamp(110, 220); + double width = primaryName.length * 20; + + return width.clamp(110, 230); } String _getTruncatedWalletAddress(String primaryName, String walletAddress) { @@ -752,8 +753,8 @@ class ProfileCardHeader extends StatelessWidget { image: NetworkImage( 'https://arweave.net/${state.primaryNameDetails.logo}', ), - width: 28, - height: 28, + width: 34, + height: 34, fit: BoxFit.cover, errorBuilder: (context, error, stackTrace) { return const SizedBox.shrink();