Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more
fix(overlay): yield before long processing
altic-dev4d861c7a9d5b
diff --git a/Sources/Fluid/ContentView.swift b/Sources/Fluid/ContentView.swiftindex 463cbf63..3abfc81a 100644--- a/Sources/Fluid/ContentView.swift+++ b/Sources/Fluid/ContentView.swift@@ -1488,6 +1488,10 @@ struct ContentView: View {self.menuBarManager.setProcessing(true)NotchOverlayManager.shared.updateTranscriptionText("Transcribing...")+ // Give SwiftUI a chance to render the processing state before we do heavier work+ // (ASR finalization + optional AI post-processing).+ await Task.yield()+// Stop the ASR service and wait for transcription to complete// The processing indicator will stay visible during this phaselet transcribedText = await asr.stop()@@ -1569,6 +1573,9 @@ struct ContentView: View {// Update overlay text to show we're now refining (processing already true)NotchOverlayManager.shared.updateTranscriptionText("Refining...")+ // Ensure the status label becomes visible immediately.+ await Task.yield()+finalText = await self.processTextWithAI(transcribedText)// Hide processing animation