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: use isPromptModeActive flag for prompt mode detection in notch overlay
Bezhanae1ef233321c
diff --git a/Sources/Fluid/ContentView.swift b/Sources/Fluid/ContentView.swiftindex f33e4762..18e4e638 100644--- a/Sources/Fluid/ContentView.swift+++ b/Sources/Fluid/ContentView.swift@@ -2146,6 +2146,7 @@ struct ContentView: View {self.promptModeOverrideText = nilNotchContentState.shared.promptModeOverrideProfileName = nilNotchContentState.shared.promptModeOverrideProfileID = nil+ NotchContentState.shared.isPromptModeActive = false}self.activeRecordingMode = modeswitch mode {@@ -2522,6 +2523,7 @@ struct ContentView: View {NotchContentState.shared.promptModeOverrideProfileID = profile.id}+ NotchContentState.shared.isPromptModeActive = trueself.setActiveRecordingMode(.promptMode)self.rewriteModeService.clearState()self.menuBarManager.setOverlayMode(.dictation)diff --git a/Sources/Fluid/Views/NotchContentViews.swift b/Sources/Fluid/Views/NotchContentViews.swiftindex 372e3cc5..1e2feecc 100644--- a/Sources/Fluid/Views/NotchContentViews.swift+++ b/Sources/Fluid/Views/NotchContentViews.swift@@ -22,6 +22,7 @@ class NotchContentState: ObservableObject {@Published var isProcessing: Bool = false // AI processing state@Published var promptModeOverrideProfileName: String? = nil // Name shown in overlay when prompt mode hotkey is active@Published var promptModeOverrideProfileID: String? = nil // ID of the active override profile (for checkmark in menu)+ @Published var isPromptModeActive: Bool = false // True for the entire prompt-mode session, even when no profile is selected/// Called when the user picks a different prompt from the overlay during prompt mode recording.var onPromptModeProfileChangeRequested: ((SettingsStore.DictationPromptProfile?) -> Void)?@@ -509,7 +510,7 @@ struct NotchExpandedView: View {private func promptMenuContent() -> some View {let promptMode = self.activePromptMode ?? .dictate// During prompt mode recording, selections update the live override instead of the global prompt.- let isInPromptMode = self.contentState.promptModeOverrideProfileName != nil+ let isInPromptMode = self.contentState.isPromptModeActivereturn VStack(alignment: .leading, spacing: 0) {Button(action: {