fix bug with fiber
This commit is contained in:
		
							parent
							
								
									a961580e2d
								
							
						
					
					
						commit
						7c7d86c7a1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -102,7 +102,7 @@ class _AddProductScreen extends State<AddProductScreen> {
 | 
			
		|||
    }
 | 
			
		||||
 | 
			
		||||
    if (fiber != null) {
 | 
			
		||||
      calories -= fiber * 2;
 | 
			
		||||
      calories += fiber * 2;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    return calories;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue