🐛 Bug fixes

This commit is contained in:
2025-08-06 02:51:41 +08:00
parent a6d869ebf6
commit 8c47a59b80
4 changed files with 292 additions and 71 deletions

View File

@@ -566,9 +566,10 @@ class PostItem extends HookConsumerWidget {
),
child: PollSubmit(
initialAnswers: embedData['poll']?['user_answer']?['answer'],
stats: embedData['poll']?['stats'],
poll: SnPollWithStats.fromJson(embedData['poll']),
onSubmit: (_) {},
).padding(horizontal: 12, vertical: 8),
).padding(horizontal: 16, vertical: 12),
),
_ => const Placeholder(),
},