Skip to content

Commit

Permalink
fix: #828 - no more duplicates of attribute groups (#830)
Browse files Browse the repository at this point in the history
Impacted file:
* `user_preferences_food.dart`
  • Loading branch information
monsieurtanuki authored Jan 3, 2022
1 parent dd523e9 commit 92961be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/smooth_app/lib/pages/user_preferences_food.dart
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class UserPreferencesFood extends AbstractUserPreferences {
result.addAll(groups.where((AttributeGroup g) => g.id == id));
}
result.addAll(groups.where(
(AttributeGroup g) => _ORDERED_ATTRIBUTE_GROUP_IDS.contains(g.id)));
(AttributeGroup g) => !_ORDERED_ATTRIBUTE_GROUP_IDS.contains(g.id)));
return result;
}
}

0 comments on commit 92961be

Please sign in to comment.