fix(app): keep dictation shortcuts responsive (#2268)
The composer mirrored dictation state in a second ref that could remain stale after the recording surface changed. Route shortcut decisions through the dictation lifecycle's synchronous state so finishing or rejecting a recording cannot leave Command-D latched.
This commit is contained in:
@@ -15,6 +15,7 @@ export interface UseDictationOptions {
|
||||
|
||||
export interface UseDictationResult {
|
||||
isRecording: boolean;
|
||||
isRecordingActive: () => boolean;
|
||||
isProcessing: boolean;
|
||||
partialTranscript: string;
|
||||
volume: number;
|
||||
|
||||
Reference in New Issue
Block a user