File tree Expand file tree Collapse file tree
kitchenowl/lib/pages/household_page Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -198,10 +198,10 @@ class _PlannerPageState extends State<PlannerPage> {
198198 title: plan.recipe.name,
199199 selected: true ,
200200 description: plan.yields? .toString (),
201- onPressed : () {
201+ onLongPressed : () {
202202 cubit.remove (plan.recipe);
203203 },
204- onLongPressed : () => _openRecipePage (
204+ onPressed : () => _openRecipePage (
205205 context,
206206 cubit,
207207 plan.recipe,
@@ -250,13 +250,13 @@ class _PlannerPageState extends State<PlannerPage> {
250250 title: plan.recipe.name,
251251 description: plan.yields? .toString (),
252252 selected: true ,
253- onPressed : () {
253+ onLongPressed : () {
254254 cubit.remove (
255255 plan.recipe,
256256 plan.cookingDate,
257257 );
258258 },
259- onLongPressed : () => _openRecipePage (
259+ onPressed : () => _openRecipePage (
260260 context,
261261 cubit,
262262 plan.recipe,
You can’t perform that action at this time.
0 commit comments