Skip to content

Commit

Permalink
Update profile_card.dart
Browse files Browse the repository at this point in the history
fix icon size and alignment
  • Loading branch information
thiagocarvalhodev committed Dec 12, 2024
1 parent 142d903 commit 924bb25
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/components/profile_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 924bb25

Please sign in to comment.