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(ai-settings): reset empty listed-apps scope to all apps

altic-dev76306b0f438a
diff --git a/Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift b/Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift
index e556a035..18c6d71a 100644
--- a/Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift
+++ b/Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift
@@ -2065,6 +2065,12 @@ final class AIEnhancementSettingsViewModel: ObservableObject {
func selectPrivateAIPromptIfAvailable() {
guard self.isPrivateAIPromptAvailable() else { return }
self.settings.setDictationPromptSelection(.privateAI)
+ // "Only in listed apps" with an empty list would silently keep every app on Basic.
+ if self.settings.promptRoutingScope(for: .dictate) == .selectedAppsOnly,
+ self.settings.appPromptBindings(for: .dictate).isEmpty
+ {
+ self.settings.setPromptRoutingScope(.allApps, for: .dictate)
+ }
self.refreshPromptSelectionState()
}