Skip to content

Commit 0af5909

Browse files
committed
fix(mobile): hide cite while voice input blocks drafts
1 parent f29b84f commit 0af5909

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎apps/mobile/src/features/threads/ThreadDetailScreen.tsx‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,11 @@ function ThreadDetailBody(
13561356
!isProviderSubagent &&
13571357
!composerSlotHidden &&
13581358
!props.isSavingQueuedEdit &&
1359-
!props.draftMode?.interactionLocked;
1359+
!props.draftMode?.interactionLocked &&
1360+
!(
1361+
voiceInputSession.ownerKey === props.composerDraftKey &&
1362+
voiceInputBlocksSubmission(voiceInputSession.controller.currentState)
1363+
);
13601364
const handleCiteAssistantText = (citation: AssistantCitation) => {
13611365
if (
13621366
!canCiteAssistantText ||

0 commit comments

Comments
 (0)