fix meal
This commit is contained in:
		
							parent
							
								
									9807db52ae
								
							
						
					
					
						commit
						657a7545ba
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -79,7 +79,7 @@ class _AddEntryScreen extends State<AddEntryScreen> {
 | 
				
			||||||
    await widget.apiClient.addEntry(
 | 
					    await widget.apiClient.addEntry(
 | 
				
			||||||
      grams: double.parse(gramsController.text),
 | 
					      grams: double.parse(gramsController.text),
 | 
				
			||||||
      productId: products[0].id,
 | 
					      productId: products[0].id,
 | 
				
			||||||
      mealId: widget.diary.meals[0].id,
 | 
					      mealId: meal!.id,
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
    popMeDady();
 | 
					    popMeDady();
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue