TypeScript
fix(mobile): lock the composer while a queued edit saves (#18846)
Alex Southwelle0eb8c94489b
diff --git a/apps/mobile/src/features/threads/ThreadComposer.tsx b/apps/mobile/src/features/threads/ThreadComposer.tsxindex 705772f054f..dda463052a0 100644--- a/apps/mobile/src/features/threads/ThreadComposer.tsx+++ b/apps/mobile/src/features/threads/ThreadComposer.tsx@@ -835,7 +835,8 @@ export const ThreadComposer = function ThreadComposer(props: ThreadComposerPropsref={inputRef}multilinevalue={draftMessage}- readOnly={voiceInput.freezesEditor}+ // The save uses a draft snapshot; further typing would be discarded on success.+ readOnly={voiceInput.freezesEditor || queuedEdit?.saving === true}skills={composerMenu.skills}selection={composerMenu.selection}onChangeText={props.onChangeDraftMessage}