From 7c7d86c7a1b109f334e50de1891226eedec36a2a Mon Sep 17 00:00:00 2001 From: doman Date: Thu, 3 Aug 2023 21:01:11 +0200 Subject: [PATCH] fix bug with fiber --- lib/screens/add_product.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/screens/add_product.dart b/lib/screens/add_product.dart index 6477c67..b0a2c74 100644 --- a/lib/screens/add_product.dart +++ b/lib/screens/add_product.dart @@ -102,7 +102,7 @@ class _AddProductScreen extends State { } if (fiber != null) { - calories -= fiber * 2; + calories += fiber * 2; } return calories;