fixed hero tag issue
This commit is contained in:
1 parent
2f6440f78d
commit
b711276674
2 files changed
+6
No files matched your search
@@ -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