Skip to content

Commit

Permalink
[#69] revert #50
Browse files Browse the repository at this point in the history
  • Loading branch information
mchome committed Dec 7, 2021
1 parent 6904233 commit a34ad4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/block_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class _BlockPickerState extends State<BlockPicker> {
widget.availableColors,
(Color color, [bool? _, Function? __]) => widget.itemBuilder(
color,
(_currentColor.value == color.value) && (widget.pickerColor.value == color.value),
_currentColor.value == color.value,
() => changeColor(color),
),
);
Expand Down Expand Up @@ -169,7 +169,7 @@ class _MultipleChoiceBlockPickerState extends State<MultipleChoiceBlockPicker> {
widget.availableColors,
(Color color, [bool? _, Function? __]) => widget.itemBuilder(
color,
_currentColors.contains(color) && widget.pickerColors.contains(color),
_currentColors.contains(color),
() => toggleColor(color),
),
);
Expand Down

0 comments on commit a34ad4b

Please sign in to comment.