🐛 Fix bugs

This commit is contained in:
2025-08-09 00:21:27 +08:00
parent 204c087f29
commit 9bdf8ba346

View File

@@ -509,9 +509,11 @@ class AccountProfileScreen extends HookConsumerWidget {
SliverToBoxAdapter(child: accountBasicInfo(data)), SliverToBoxAdapter(child: accountBasicInfo(data)),
if (data.badges.isNotEmpty) if (data.badges.isNotEmpty)
SliverToBoxAdapter( SliverToBoxAdapter(
child: Card(
child: BadgeList( child: BadgeList(
badges: data.badges, badges: data.badges,
).padding(horizontal: 24, bottom: 24), ).padding(horizontal: 26, vertical: 20),
).padding(left: 2, right: 4),
), ),
SliverToBoxAdapter( SliverToBoxAdapter(
child: Column( child: Column(
@@ -521,9 +523,10 @@ class AccountProfileScreen extends HookConsumerWidget {
level: data.profile.level, level: data.profile.level,
experience: data.profile.experience, experience: data.profile.experience,
progress: data.profile.levelingProgress, progress: data.profile.levelingProgress,
), ).padding(left: 2, right: 4),
if (data.profile.verification != null) if (data.profile.verification != null)
Card( Card(
margin: EdgeInsets.zero,
child: VerificationStatusCard( child: VerificationStatusCard(
mark: data.profile.verification!, mark: data.profile.verification!,
), ),
@@ -604,9 +607,11 @@ class AccountProfileScreen extends HookConsumerWidget {
SliverToBoxAdapter(child: accountBasicInfo(data)), SliverToBoxAdapter(child: accountBasicInfo(data)),
if (data.badges.isNotEmpty) if (data.badges.isNotEmpty)
SliverToBoxAdapter( SliverToBoxAdapter(
child: Card(
child: BadgeList( child: BadgeList(
badges: data.badges, badges: data.badges,
).padding(horizontal: 24, bottom: 24), ).padding(horizontal: 26, vertical: 20),
).padding(horizontal: 4),
), ),
SliverToBoxAdapter( SliverToBoxAdapter(
child: Column( child: Column(