fixed hero tag issue
This commit is contained in:
@@ -103,6 +103,7 @@ class _MetadataPageState extends State<MetadataPage> {
|
||||
),
|
||||
Padding(padding: EdgeInsets.only(left: 10)),
|
||||
CookingDurationButton(
|
||||
heroTag: 1,
|
||||
selectedDuration: _recipeProvider.recipe.prepTime,
|
||||
onDurationChanged: _recipeProvider.updatePrepTime,
|
||||
),
|
||||
@@ -117,6 +118,7 @@ class _MetadataPageState extends State<MetadataPage> {
|
||||
),
|
||||
Padding(padding: EdgeInsets.only(left: 10)),
|
||||
CookingDurationButton(
|
||||
heroTag: 2,
|
||||
selectedDuration: _recipeProvider.recipe.cookTime,
|
||||
onDurationChanged: _recipeProvider.updateCookTime,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user