Skip to content

Commit ea8a147

Browse files
authored
fix: issue where very important nutrient does not appear at all in the preview (#6533)
* fix: issue where very important info did not appear at all * fix a formatting issue * fixed typo where there was a double parenthesis instead of a , between the double parenthesis
1 parent f41eb43 commit ea8a147

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

packages/smooth_app/lib/pages/product/summary_card.dart

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,21 @@ class _SummaryCardState extends State<SummaryCard> with UpToDateMixin {
261261
final List<Widget> attributeChips = _buildAttributeChips(
262262
getFilteredAttributes(
263263
group,
264-
PreferenceImportance.ID_IMPORTANT,
264+
PreferenceImportance.ID_VERY_IMPORTANT,
265265
_attributesToExcludeIfStatusIsUnknown,
266266
widget._productPreferences,
267267
),
268268
);
269+
attributeChips.addAll(
270+
_buildAttributeChips(
271+
getFilteredAttributes(
272+
group,
273+
PreferenceImportance.ID_IMPORTANT,
274+
_attributesToExcludeIfStatusIsUnknown,
275+
widget._productPreferences,
276+
),
277+
),
278+
);
269279
if (attributeChips.isNotEmpty) {
270280
displayedGroups.add(
271281
SummaryAttributeGroup(

0 commit comments

Comments
 (0)