From ce6579409083174379a9ec0e0136e688022d5272 Mon Sep 17 00:00:00 2001 From: Daniel Eshkeri Date: Thu, 7 Nov 2024 16:17:43 +0000 Subject: [PATCH] fix: used variable --- lib/src/components/chips/chip.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/components/chips/chip.dart b/lib/src/components/chips/chip.dart index 545edd73..b6cb8449 100644 --- a/lib/src/components/chips/chip.dart +++ b/lib/src/components/chips/chip.dart @@ -276,7 +276,7 @@ class _ZetaChipState extends State { child: (selected ? ZetaIcon( ZetaIcons.check_mark, - color: states.contains(WidgetState.disabled) ? colors.iconDisabled : colors.iconInverse, + color: disabled ? colors.iconDisabled : colors.iconInverse, ) : const Nothing()), )