diff --git a/apps/mobile/src/features/threads/ThreadQueueControl.tsx b/apps/mobile/src/features/threads/ThreadQueueControl.tsx index 39c7ff8797352..2a97761b1ed93 100644 --- a/apps/mobile/src/features/threads/ThreadQueueControl.tsx +++ b/apps/mobile/src/features/threads/ThreadQueueControl.tsx @@ -324,97 +324,108 @@ export function ThreadQueueSheet({ route }: StaticScreenProps) { background={theme["--color-sheet"]} onRemove={() => void act(run.id, "remove")} > - - void act(run.id, nativeEvent.event as QueueAction) - } - > - + + void act(run.id, nativeEvent.event as QueueAction) } - disabled={!controls.canEdit} - onPress={() => void act(run.id, "edit")} - className="min-h-14 flex-row items-center gap-2.5 py-2.5 active:opacity-70" > - - void act(run.id, "edit")} + className="min-h-14 flex-row items-center gap-2.5 py-2.5 active:opacity-70" > - {context?.guest === undefined ? null : ( - - {`${context.guest.name} `} - - )} - {title} - - {controls.isEditing ? ( - - Editing - - ) : null} - {workflow?.canPromoteToSteer || workflow?.canSendNow ? ( - + void act(run.id, "steer")} - className="h-8 shrink-0 justify-center rounded-full bg-primary px-3 active:opacity-70 disabled:opacity-40" + numberOfLines={1} > - + {context?.guest === undefined ? null : ( + + {`${context.guest.name} `} + + )} + {title} + + {controls.isEditing ? ( + + Editing + + ) : null} + + + {workflow?.canPromoteToSteer || workflow?.canSendNow ? ( + // Outside the edit row and full row height, so a near miss never opens the editor. + void act(run.id, "steer")} + className="shrink-0 justify-center self-stretch pl-4 active:opacity-70 disabled:opacity-40" + > + + + {workflow?.canSendNow ? "Send now" : "Steer"} - - ) : null} - - + + + ) : null} +