From 9bdf8ba346e7953d643a8ebf55abcd9e92dbb835 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 9 Aug 2025 00:21:27 +0800 Subject: [PATCH] :bug: Fix bugs --- lib/screens/account/profile.dart | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/lib/screens/account/profile.dart b/lib/screens/account/profile.dart index cb00352..2258d83 100644 --- a/lib/screens/account/profile.dart +++ b/lib/screens/account/profile.dart @@ -509,9 +509,11 @@ class AccountProfileScreen extends HookConsumerWidget { SliverToBoxAdapter(child: accountBasicInfo(data)), if (data.badges.isNotEmpty) SliverToBoxAdapter( - child: BadgeList( - badges: data.badges, - ).padding(horizontal: 24, bottom: 24), + child: Card( + child: BadgeList( + badges: data.badges, + ).padding(horizontal: 26, vertical: 20), + ).padding(left: 2, right: 4), ), SliverToBoxAdapter( child: Column( @@ -521,9 +523,10 @@ class AccountProfileScreen extends HookConsumerWidget { level: data.profile.level, experience: data.profile.experience, progress: data.profile.levelingProgress, - ), + ).padding(left: 2, right: 4), if (data.profile.verification != null) Card( + margin: EdgeInsets.zero, child: VerificationStatusCard( mark: data.profile.verification!, ), @@ -604,9 +607,11 @@ class AccountProfileScreen extends HookConsumerWidget { SliverToBoxAdapter(child: accountBasicInfo(data)), if (data.badges.isNotEmpty) SliverToBoxAdapter( - child: BadgeList( - badges: data.badges, - ).padding(horizontal: 24, bottom: 24), + child: Card( + child: BadgeList( + badges: data.badges, + ).padding(horizontal: 26, vertical: 20), + ).padding(horizontal: 4), ), SliverToBoxAdapter( child: Column(