Skip to content

Commit a34ad4b

Browse files
committed
[#69] revert #50
1 parent 6904233 commit a34ad4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/block_picker.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class _BlockPickerState extends State<BlockPicker> {
120120
widget.availableColors,
121121
(Color color, [bool? _, Function? __]) => widget.itemBuilder(
122122
color,
123-
(_currentColor.value == color.value) && (widget.pickerColor.value == color.value),
123+
_currentColor.value == color.value,
124124
() => changeColor(color),
125125
),
126126
);
@@ -169,7 +169,7 @@ class _MultipleChoiceBlockPickerState extends State<MultipleChoiceBlockPicker> {
169169
widget.availableColors,
170170
(Color color, [bool? _, Function? __]) => widget.itemBuilder(
171171
color,
172-
_currentColors.contains(color) && widget.pickerColors.contains(color),
172+
_currentColors.contains(color),
173173
() => toggleColor(color),
174174
),
175175
);

0 commit comments

Comments
 (0)