diff --git a/packages/smooth_app/lib/pages/product/nutrition_page_loaded.dart b/packages/smooth_app/lib/pages/product/nutrition_page_loaded.dart index f501b02d8f6..fba0be8893a 100644 --- a/packages/smooth_app/lib/pages/product/nutrition_page_loaded.dart +++ b/packages/smooth_app/lib/pages/product/nutrition_page_loaded.dart @@ -327,11 +327,7 @@ class _NutritionPageLoadedState extends State { _nutritionContainer.setControllerText(key, controller.text); } // minimal product: we only want to save the nutrients - final Product inputProduct = Product( - barcode: widget.product.barcode, - nutriments: nutriments, - servingSize: servingSize, - ); + final Product inputProduct = _nutritionContainer.getProduct(); final bool savedAndRefreshed = await ProductRefresher().saveAndRefresh( context: context,