🐛 Bug fixes
This commit is contained in:
parent
17e6b81f76
commit
33a4bd7e71
@ -31,6 +31,7 @@ class AccountImage extends StatelessWidget {
|
|||||||
final url = sn.getAttachmentUrl(content ?? '');
|
final url = sn.getAttachmentUrl(content ?? '');
|
||||||
|
|
||||||
return Stack(
|
return Stack(
|
||||||
|
clipBehavior: Clip.none,
|
||||||
children: [
|
children: [
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: (radius != null ? radius! : 20) * 2,
|
width: (radius != null ? radius! : 20) * 2,
|
||||||
@ -58,7 +59,7 @@ class AccountImage extends StatelessWidget {
|
|||||||
if (badge != null)
|
if (badge != null)
|
||||||
Positioned(
|
Positioned(
|
||||||
right: -4,
|
right: -4,
|
||||||
bottom: -4,
|
bottom: -2,
|
||||||
child: badge!,
|
child: badge!,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -117,7 +117,7 @@ class ChatMessage extends StatelessWidget {
|
|||||||
Shadow(
|
Shadow(
|
||||||
offset: Offset(1, 1),
|
offset: Offset(1, 1),
|
||||||
blurRadius: 5.0,
|
blurRadius: 5.0,
|
||||||
color: Color.fromARGB(255, 0, 0, 0),
|
color: Color.fromARGB(200, 0, 0, 0),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
@ -879,6 +879,7 @@ class _PostContentHeader extends StatelessWidget {
|
|||||||
child: AccountImage(
|
child: AccountImage(
|
||||||
content: data.publisher.avatar,
|
content: data.publisher.avatar,
|
||||||
radius: isCompact ? 12 : 20,
|
radius: isCompact ? 12 : 20,
|
||||||
|
borderRadius: data.publisher.type == 1 ? (isCompact ? 4 : 8) : 20,
|
||||||
badge: (user?.badges.isNotEmpty ?? false)
|
badge: (user?.badges.isNotEmpty ?? false)
|
||||||
? Icon(
|
? Icon(
|
||||||
kBadgesMeta[user!.badges.first.type]?.$2 ?? Symbols.question_mark,
|
kBadgesMeta[user!.badges.first.type]?.$2 ?? Symbols.question_mark,
|
||||||
@ -889,7 +890,7 @@ class _PostContentHeader extends StatelessWidget {
|
|||||||
Shadow(
|
Shadow(
|
||||||
offset: Offset(1, 1),
|
offset: Offset(1, 1),
|
||||||
blurRadius: 5.0,
|
blurRadius: 5.0,
|
||||||
color: Color.fromARGB(255, 0, 0, 0),
|
color: Color.fromARGB(200, 0, 0, 0),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user