🐛 Bug fixes

This commit is contained in:
2025-05-23 00:05:49 +08:00
parent f646dd9c0c
commit e656591527
5 changed files with 30 additions and 14 deletions

View File

@ -113,7 +113,9 @@ class AccountScreen extends HookConsumerWidget {
],
),
Text(
user.value!.profile.bio ?? 'No description yet.',
(user.value!.profile.bio.isNotEmpty)
? user.value!.profile.bio
: 'No description yet.',
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
@ -146,7 +148,7 @@ class AccountScreen extends HookConsumerWidget {
],
).padding(horizontal: 16, vertical: 12),
onTap: () {
context.router.push(CreatorHubRoute());
context.router.push(CreatorHubShellRoute());
},
),
).height(140),