@@ -162,15 +162,15 @@ class _GroupMemberBottomSheetState extends ConsumerState<GroupMemberBottomSheet>
162162 size: WnButtonSize .small,
163163 onPressed: () => Navigator .pop (context),
164164 visualState: WnButtonVisualState .secondary,
165- title : 'Cancel' ,
165+ label : 'Cancel' ,
166166 ),
167167 Gap (8. h),
168168 WnFilledButton (
169169 size: WnButtonSize .small,
170170 loading: _isRemoving,
171171 onPressed: _isRemoving ? null : _removeFromGroup,
172172 visualState: WnButtonVisualState .destructive,
173- title : 'Remove From Group' ,
173+ label : 'Remove From Group' ,
174174 ),
175175 ],
176176 ),
@@ -276,7 +276,7 @@ class _GroupMemberBottomSheetState extends ConsumerState<GroupMemberBottomSheet>
276276 onPressed: _openAddToGroup,
277277 size: WnButtonSize .small,
278278 visualState: WnButtonVisualState .secondary,
279- title : 'Add to Another Group' ,
279+ label : 'Add to Another Group' ,
280280 suffixIcon: SvgPicture .asset (
281281 AssetsPaths .icChatInvite,
282282 width: 14. w,
@@ -298,7 +298,7 @@ class _GroupMemberBottomSheetState extends ConsumerState<GroupMemberBottomSheet>
298298 },
299299 size: WnButtonSize .small,
300300 visualState: WnButtonVisualState .secondaryWarning,
301- title : 'Remove From Group' ,
301+ label : 'Remove From Group' ,
302302 titleTextStyle: context.textTheme.bodyMedium? .copyWith (
303303 color: context.colors.destructive,
304304 fontWeight: FontWeight .w600,
0 commit comments