Skip to content

Commit

Permalink
🤖 Automated Format and Fix
Browse files Browse the repository at this point in the history
Decoder07 authored and github-actions[bot] committed Feb 5, 2024
1 parent 6b1706a commit 02fce3c
Showing 3 changed files with 10 additions and 4 deletions.
3 changes: 2 additions & 1 deletion packages/hms_room_kit/lib/src/meeting/meeting_page.dart
Original file line number Diff line number Diff line change
@@ -113,7 +113,8 @@ class _MeetingPageState extends State<MeetingPage> {
return ChangeNotifierProvider.value(
value: toast.toastData! as HMSPollStore,
child: HMSPollStartToast(
poll: toast.toastData.poll, meetingStore: context.read<MeetingStore>()),
poll: toast.toastData.poll,
meetingStore: context.read<MeetingStore>()),
);
default:
return const SizedBox();
Original file line number Diff line number Diff line change
@@ -111,15 +111,18 @@ class _PollResultCardState extends State<PollResultCard> {
direction: Axis.horizontal,
children: [
Expanded(
flex:(widget.question.options[index].voteCount),
flex: (widget
.question.options[index].voteCount),
child: Container(
decoration: BoxDecoration(
color: HMSThemeColors.primaryDefault,
borderRadius: BorderRadius.circular(8),
),
)),
Expanded(
flex: totalVotes - widget.question.options[index].voteCount,
flex: totalVotes -
widget
.question.options[index].voteCount,
child: Container(
decoration: BoxDecoration(
color: HMSThemeColors.surfaceBright,
Original file line number Diff line number Diff line change
@@ -29,7 +29,9 @@ class HMSPollAnswer {
questionType: HMSPollQuestionTypeValues.getHMSPollQuestionTypeFromString(
map['question_type']),
selectedOption: map['selected_option'],
selectedOptions: map["selected_options"]!= null?List<int>.from(map['selected_options']):null,
selectedOptions: map["selected_options"] != null
? List<int>.from(map['selected_options'])
: null,
skipped: map['skipped'],
update: map['update'],
);

0 comments on commit 02fce3c

Please sign in to comment.