🐛 Bug fixes

This commit is contained in:
2025-03-02 21:56:45 +08:00
parent 17e6b81f76
commit 33a4bd7e71
3 changed files with 5 additions and 3 deletions

View File

@ -879,6 +879,7 @@ class _PostContentHeader extends StatelessWidget {
child: AccountImage(
content: data.publisher.avatar,
radius: isCompact ? 12 : 20,
borderRadius: data.publisher.type == 1 ? (isCompact ? 4 : 8) : 20,
badge: (user?.badges.isNotEmpty ?? false)
? Icon(
kBadgesMeta[user!.badges.first.type]?.$2 ?? Symbols.question_mark,
@ -889,7 +890,7 @@ class _PostContentHeader extends StatelessWidget {
Shadow(
offset: Offset(1, 1),
blurRadius: 5.0,
color: Color.fromARGB(255, 0, 0, 0),
color: Color.fromARGB(200, 0, 0, 0),
),
],
)