🐛 Fix post item padding
This commit is contained in:
parent
2ad85addf6
commit
99ff78a3d5
@ -384,7 +384,12 @@ class PostItem extends HookConsumerWidget {
|
|||||||
// Show truncation hint if post is truncated
|
// Show truncation hint if post is truncated
|
||||||
if (item.isTruncated && !isFullPost && item.type != 1)
|
if (item.isTruncated && !isFullPost && item.type != 1)
|
||||||
_PostTruncateHint().padding(
|
_PostTruncateHint().padding(
|
||||||
bottom: item.attachments.isNotEmpty ? 8 : null,
|
bottom:
|
||||||
|
(item.attachments.isNotEmpty ||
|
||||||
|
item.repliedPost != null ||
|
||||||
|
item.forwardedPost != null)
|
||||||
|
? 8
|
||||||
|
: null,
|
||||||
),
|
),
|
||||||
if ((item.repliedPost != null ||
|
if ((item.repliedPost != null ||
|
||||||
item.forwardedPost != null) &&
|
item.forwardedPost != null) &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user