fix small bug

merge-requests/444/head
Elham Rababah 5 years ago
parent 08a22d949c
commit 518b09454b

@ -104,14 +104,14 @@ class _MasterKeyCheckboxSearchWidgetState extends State<MasterKeyCheckboxSearchW
widget.isServiceSelected(historyInfo), widget.isServiceSelected(historyInfo),
activeColor: Colors.red[800], activeColor: Colors.red[800],
onChanged: (bool newValue) { onChanged: (bool newValue) {
// setState(() { setState(() {
// if (widget if (widget
// .isServiceSelected(historyInfo)) { .isServiceSelected(historyInfo)) {
// widget.removeHistory(historyInfo); widget.removeHistory(historyInfo);
// } else { } else {
// widget.addHistory(historyInfo); widget.addHistory(historyInfo);
// } }
// }); });
}), }),
Expanded( Expanded(
child: Padding( child: Padding(

Loading…
Cancel
Save