From d4dcd2479d20ecff943a3520e4fe1dbece620e30 Mon Sep 17 00:00:00 2001 From: broodjeaap89 Date: Sun, 11 Jul 2021 11:20:13 +0200 Subject: [PATCH] leftover cleanup --- lib/entities/PizzaRecipe/PizzaRecipe.dart | 2 +- lib/pages/AddPizzaEventPage.dart | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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,