From 70fec83ec3dc48e83f28f22e65f7854347a78337 Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Sun, 12 Nov 2023 11:45:23 +1300 Subject: [PATCH] Replace long press with vertical drag icon button Closes #181 --- EditPlan.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/EditPlan.tsx b/EditPlan.tsx index 6497f4b..3ce4caf 100644 --- a/EditPlan.tsx +++ b/EditPlan.tsx @@ -104,7 +104,6 @@ export default function EditPlan() { drag, }: ReorderableListRenderItemInfo) => ( toggleExercise(!exercises.includes(item), item)} style={{ flexDirection: "row", alignItems: "center" }} > @@ -114,6 +113,11 @@ export default function EditPlan() { onValueChange={(value) => toggleExercise(value, item)} /> {item} + );