fix bug with fiber

This commit is contained in:
doman 2023-08-03 21:01:11 +02:00
parent a961580e2d
commit 7c7d86c7a1

View file

@ -102,7 +102,7 @@ class _AddProductScreen extends State<AddProductScreen> {
}
if (fiber != null) {
calories -= fiber * 2;
calories += fiber * 2;
}
return calories;