diff --git a/lib/widgets/posts/post_item.dart b/lib/widgets/posts/post_item.dart index fd0b532..4cd0033 100644 --- a/lib/widgets/posts/post_item.dart +++ b/lib/widgets/posts/post_item.dart @@ -58,10 +58,15 @@ class _PostItemState extends State { Widget buildHeader() { return Row( children: [ + if (widget.isCompact) + AccountAvatar( + content: item.author.avatar.toString(), + radius: 10, + ).paddingOnly(left: 2), Text( item.author.nick, style: const TextStyle(fontWeight: FontWeight.bold), - ).paddingOnly(left: 12), + ).paddingOnly(left: 6), buildDate().paddingOnly(left: 4), ], );