From 99ff78a3d5aa9f390892c1cbb81e8bedf3f8d2ea Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Thu, 3 Jul 2025 13:12:39 +0800 Subject: [PATCH] :bug: Fix post item padding --- lib/widgets/post/post_item.dart | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/widgets/post/post_item.dart b/lib/widgets/post/post_item.dart index e9f1fab..4343d15 100644 --- a/lib/widgets/post/post_item.dart +++ b/lib/widgets/post/post_item.dart @@ -384,7 +384,12 @@ class PostItem extends HookConsumerWidget { // Show truncation hint if post is truncated if (item.isTruncated && !isFullPost && item.type != 1) _PostTruncateHint().padding( - bottom: item.attachments.isNotEmpty ? 8 : null, + bottom: + (item.attachments.isNotEmpty || + item.repliedPost != null || + item.forwardedPost != null) + ? 8 + : null, ), if ((item.repliedPost != null || item.forwardedPost != null) &&