diff --git a/kitchenowl/lib/pages/household_page/planner.dart b/kitchenowl/lib/pages/household_page/planner.dart index 6af1f4147..069d63724 100644 --- a/kitchenowl/lib/pages/household_page/planner.dart +++ b/kitchenowl/lib/pages/household_page/planner.dart @@ -198,10 +198,10 @@ class _PlannerPageState extends State { title: plan.recipe.name, selected: true, description: plan.yields?.toString(), - onPressed: () { + onLongPressed: () { cubit.remove(plan.recipe); }, - onLongPressed: () => _openRecipePage( + onPressed: () => _openRecipePage( context, cubit, plan.recipe, @@ -250,13 +250,13 @@ class _PlannerPageState extends State { title: plan.recipe.name, description: plan.yields?.toString(), selected: true, - onPressed: () { + onLongPressed: () { cubit.remove( plan.recipe, plan.cookingDate, ); }, - onLongPressed: () => _openRecipePage( + onPressed: () => _openRecipePage( context, cubit, plan.recipe,