moved ingredients table to main add pizza page, instead of the confirmation dialog

This commit is contained in:
broodjeaap89 2021-08-30 21:46:10 +02:00
parent cbbd83fa46
commit 27cf8504d9
2 changed files with 3 additions and 5 deletions

View file

@ -106,6 +106,7 @@ class AddPizzaEventPageState extends State<AddPizzaEventPage> {
)
]
),
widget.pizzaRecipe.getIngredientsTable(this.pizzaCount, this.doughBallSize),
]
)
),
@ -232,14 +233,11 @@ class ConfirmPizzaEventState extends State<ConfirmPizzaEventDialog> {
crossAxisAlignment: CrossAxisAlignment.center,
children: <Widget>[
Expanded(
flex: 30,
flex: 10,
child: Column(
children: <Widget>[
Text(widget.name),
Divider(),
Text("Ingredients"),
widget.pizzaRecipe.getIngredientsTable(widget.pizzaCount, widget.doughBallSize),
Divider(),
SizedBox(
width: double.infinity,
height: 50,

View file

@ -7,4 +7,4 @@
- add decimals to ingredients table when below a certain % or <5g whatever
- move ingredients table when adding a pizza event from confirm date dialog to main add pizza page
- theres a bug when waiting on the confirmation screen for a new pizza event too long, where the scheduled date is in the past