From 2e37116dc06d5965883a5f8d37a39d66730be881 Mon Sep 17 00:00:00 2001 From: crosspolar <18083323+crosspolar@users.noreply.github.com> Date: Sat, 7 Feb 2026 08:50:48 +0100 Subject: [PATCH] switch longpressed and pressed actions --- kitchenowl/lib/pages/household_page/planner.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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,