File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
catalyst_voices/apps/voices/lib Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ class _CategoryDetails extends StatelessWidget {
3939 CategoryRequirementsList (
4040 dos: category.dos,
4141 donts: category.donts,
42- iconColor: context.colors.primaryContainer,
4342 ),
4443 ],
4544 );
Original file line number Diff line number Diff line change @@ -7,13 +7,11 @@ import 'package:flutter/material.dart';
77class CategoryRequirementsList extends StatelessWidget {
88 final List <String > dos;
99 final List <String > donts;
10- final Color ? iconColor;
1110
1211 const CategoryRequirementsList ({
1312 super .key,
1413 required this .dos,
1514 required this .donts,
16- this .iconColor,
1715 });
1816
1917 @override
@@ -33,14 +31,13 @@ class CategoryRequirementsList extends StatelessWidget {
3331 if (dos.isNotEmpty)
3432 VoicesList (
3533 items: dos,
36- icon: VoicesAssets .icons.check
37- .buildIcon (color: iconColor ?? context.colors.iconsPrimary),
34+ icon: VoicesAssets .icons.check.buildIcon (color: context.colors.iconsPrimary),
3835 ),
3936 if (donts.isNotEmpty) ...[
4037 const SizedBox (height: 12 ),
4138 VoicesList (
4239 items: donts,
43- icon: VoicesAssets .icons.x.buildIcon (color: iconColor ?? context.colors.iconsPrimary),
40+ icon: VoicesAssets .icons.x.buildIcon (color: context.colors.iconsPrimary),
4441 ),
4542 ],
4643 ],
You can’t perform that action at this time.
0 commit comments