mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 10:52:40 +08:00
fix(electron): sometimes pops up failed to save dialog (#11925)
fix AF-2557
This commit is contained in:
@@ -531,6 +531,7 @@ export function startRecording(
|
||||
|
||||
// set a timeout to stop the recording after MAX_DURATION_FOR_TRANSCRIPTION
|
||||
setTimeout(() => {
|
||||
const state = recordingStateMachine.status$.value;
|
||||
if (
|
||||
state?.status === 'recording' &&
|
||||
state.id === recordingStatus$.value?.id
|
||||
|
||||
Reference in New Issue
Block a user