Skip to content

Commit 0b34d4b

Browse files
authored
fix(samples): update poll creator dialog to use StreamPollCreatorWidget (#40)
1 parent 199b692 commit 0b34d4b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sample_app/lib/screens/user_feed/polls/create_poll/stream_poll_creator_dialog.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,9 @@ class _StreamPollCreatorFullScreenDialogState
264264
),
265265
],
266266
),
267-
body: StreamPollCreatorFullScreenDialog(
267+
body: StreamPollCreatorWidget(
268268
padding: widget.padding,
269-
poll: _controller.value,
270-
config: widget.config,
269+
controller: _controller,
271270
),
272271
);
273272
}

0 commit comments

Comments
 (0)