Skip to content

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.swift
index f33e4762..18e4e638 100644
--- a/Sources/Fluid/ContentView.swift
+++ b/Sources/Fluid/ContentView.swift
@@ -2146,6 +2146,7 @@ struct ContentView: View {
self.promptModeOverrideText = nil
NotchContentState.shared.promptModeOverrideProfileName = nil
NotchContentState.shared.promptModeOverrideProfileID = nil
+ NotchContentState.shared.isPromptModeActive = false
}
self.activeRecordingMode = mode
switch mode {
@@ -2522,6 +2523,7 @@ struct ContentView: View {
NotchContentState.shared.promptModeOverrideProfileID = profile.id
}
+ NotchContentState.shared.isPromptModeActive = true
self.setActiveRecordingMode(.promptMode)
self.rewriteModeService.clearState()
self.menuBarManager.setOverlayMode(.dictation)
diff --git a/Sources/Fluid/Views/NotchContentViews.swift b/Sources/Fluid/Views/NotchContentViews.swift
index 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.isPromptModeActive
return VStack(alignment: .leading, spacing: 0) {
Button(action: {