diff --git a/lib/entities/PizzaRecipe/PizzaRecipe.dart b/lib/entities/PizzaRecipe/PizzaRecipe.dart index 5d68d0c..7744402 100644 --- a/lib/entities/PizzaRecipe/PizzaRecipe.dart +++ b/lib/entities/PizzaRecipe/PizzaRecipe.dart @@ -16,7 +16,7 @@ class PizzaRecipe { PizzaRecipe(this.name, this.description, this.ingredients, this.recipeSteps); - Widget getIngredientsWidget(int pizzaCount, int doughBallSize){ + Widget getIngredientsTable(int pizzaCount, int doughBallSize){ return ingredients.getIngredientsTable(pizzaCount, doughBallSize); } diff --git a/lib/pages/AddPizzaEventPage.dart b/lib/pages/AddPizzaEventPage.dart index 6f25e01..74e15c0 100644 --- a/lib/pages/AddPizzaEventPage.dart +++ b/lib/pages/AddPizzaEventPage.dart @@ -156,7 +156,8 @@ class AddPizzaEventPageState extends State { ] ), Divider(), - this.initialized ? this.pizzaRecipe.getIngredientsWidget(this.pizzaCount, this.doughBallSize) : Container(), + this.initialized ? this.pizzaRecipe.getIngredientsTable(this.pizzaCount, this.doughBallSize) : Container(), + Divider(), Spacer(), SizedBox( width: double.infinity,