🐛 Post detail initial expand poll
This commit is contained in:
@@ -900,6 +900,7 @@ class PostBody extends ConsumerWidget {
|
|||||||
poll: SnPollWithStats.fromJson(embedData['poll']),
|
poll: SnPollWithStats.fromJson(embedData['poll']),
|
||||||
onSubmit: (_) {},
|
onSubmit: (_) {},
|
||||||
isReadonly: !isInteractive,
|
isReadonly: !isInteractive,
|
||||||
|
isInitiallyExpanded: isFullPost,
|
||||||
).padding(horizontal: 16, vertical: 12),
|
).padding(horizontal: 16, vertical: 12),
|
||||||
),
|
),
|
||||||
_ => Text('Unable show embed: ${embedData['type']}'),
|
_ => Text('Unable show embed: ${embedData['type']}'),
|
||||||
|
Reference in New Issue
Block a user