diff --git a/apps/mobile/src/features/threads/ThreadQueueControl.tsx b/apps/mobile/src/features/threads/ThreadQueueControl.tsx index adc1131a05d109f181f071365cd4c326d7b2fd73..5aa56b3d272324639d8500f34a7b64cbbdf008ef 100644 --- a/apps/mobile/src/features/threads/ThreadQueueControl.tsx +++ b/apps/mobile/src/features/threads/ThreadQueueControl.tsx @@ -26,6 +26,7 @@ import { beginQueuedRunEdit, useQueuedRunEdit } from "../../state/queued-run-edi import { environmentThreadDetails, threadEnvironment } from "../../state/threads"; import { useAtomCommand } from "../../state/use-atom-command"; import { + REMOVE_QUEUED_MESSAGE_ACCESSIBILITY_LABEL, buildCancelQueuedRunCommand, resolveQueueDragBeforeRunId, resolveQueueDropBeforeRunId, @@ -502,13 +503,20 @@ function QueueRowSwipeable(props: { props.onRemove(); }} renderRightActions={() => ( - { + swipeableRef.current?.close(); + props.onRemove(); + }} + className="items-center justify-center bg-danger active:opacity-70 disabled:opacity-40" style={{ width: REMOVE_ACTION_WIDTH }} > Remove - + )} > {props.children}