fixed page numbers on pizza event recipe page
This commit is contained in:
parent
17e9aaa5a2
commit
51ccf45225
2 changed files with 2 additions and 2 deletions
|
@ -23,6 +23,7 @@ class PizzaEventRecipePageState extends State<PizzaEventRecipePage> {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context){
|
Widget build(BuildContext context){
|
||||||
var recipeStepCount = this.widget.pizzaEvent.recipe.recipeSteps.length;
|
var recipeStepCount = this.widget.pizzaEvent.recipe.recipeSteps.length;
|
||||||
|
recipeStepCount += 1; // because of first description page
|
||||||
List<Text> pageIndex = [];
|
List<Text> pageIndex = [];
|
||||||
for (var i = 0;i < recipeStepCount;i++){
|
for (var i = 0;i < recipeStepCount;i++){
|
||||||
pageIndex.add(
|
pageIndex.add(
|
||||||
|
|
1
todo.md
1
todo.md
|
@ -12,4 +12,3 @@
|
||||||
## Refactor
|
## Refactor
|
||||||
|
|
||||||
## Bug
|
## Bug
|
||||||
- last page missing page numbers on pizza event recipe page
|
|
Loading…
Add table
Reference in a new issue