diff --git a/lib/pages/PizzaEventRecipePage.dart b/lib/pages/PizzaEventRecipePage.dart index 7517d1b..4c82fee 100644 --- a/lib/pages/PizzaEventRecipePage.dart +++ b/lib/pages/PizzaEventRecipePage.dart @@ -23,6 +23,7 @@ class PizzaEventRecipePageState extends State { @override Widget build(BuildContext context){ var recipeStepCount = this.widget.pizzaEvent.recipe.recipeSteps.length; + recipeStepCount += 1; // because of first description page List pageIndex = []; for (var i = 0;i < recipeStepCount;i++){ pageIndex.add( diff --git a/todo.md b/todo.md index bad94a6..e8f0a0d 100644 --- a/todo.md +++ b/todo.md @@ -11,5 +11,4 @@ ## Refactor -## Bug -- last page missing page numbers on pizza event recipe page \ No newline at end of file +## Bug \ No newline at end of file