Fix: Restore transcription failed notification

This commit is contained in:
Beingpax 2025-07-11 09:15:01 +05:45
parent 57f47af062
commit 62c421c0df

View File

@ -375,6 +375,13 @@ class WhisperState: NSObject, ObservableObject {
logger.error("❌ Could not create a record for the failed transcription: \(error.localizedDescription)")
}
await MainActor.run {
NotificationManager.shared.showNotification(
title: "Transcription Failed",
type: .error
)
}
await self.dismissMiniRecorder()
}
}