Skip to content

Commit 07cfaa1

Browse files
feat: reduce voice swipe threshold for easier activation
1 parent 3cc2428 commit 07cfaa1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/components/message/PromptInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const revokeBlobUrls = (attachments: ImageAttachment[]) => {
4747

4848
const ACCEPTED_FILE_TYPES = [...ACCEPTED_IMAGE_TYPES, "application/pdf"]
4949

50-
const VOICE_SEND_SWIPE_THRESHOLD = 48
50+
const VOICE_SEND_SWIPE_THRESHOLD = 30
5151
type VoiceButtonVariant = 'desktop' | 'mobile'
5252

5353

0 commit comments

Comments
 (0)