💄 Optimized creator mode post item

This commit is contained in:
2025-07-31 22:31:22 +08:00
parent d04b06089c
commit 02e68d76ee
4 changed files with 16 additions and 17 deletions

View File

@@ -103,13 +103,18 @@ class SliverPostList extends HookConsumerWidget {
Widget _buildPostItem(SnPost post) {
switch (itemType) {
case PostItemType.creator:
return PostItemCreator(
item: post,
backgroundColor: backgroundColor,
padding: padding,
isOpenable: isOpenable,
onRefresh: onRefresh,
onUpdate: onUpdate,
return Column(
children: [
PostItemCreator(
item: post,
backgroundColor: backgroundColor,
padding: padding,
isOpenable: isOpenable,
onRefresh: onRefresh,
onUpdate: onUpdate,
),
const Divider(),
],
);
case PostItemType.regular:
return Card(