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
Ran formatter
grohith32726ee6cfc8441
diff --git a/Sources/Fluid/Services/DictationAIPostProcessingGate.swift b/Sources/Fluid/Services/DictationAIPostProcessingGate.swiftindex af2be996..08ddc2fb 100644--- a/Sources/Fluid/Services/DictationAIPostProcessingGate.swift+++ b/Sources/Fluid/Services/DictationAIPostProcessingGate.swift@@ -51,4 +51,3 @@ enum DictationAIPostProcessingGate {return false}}-diff --git a/Sources/Fluid/Services/DictationPromptTestCoordinator.swift b/Sources/Fluid/Services/DictationPromptTestCoordinator.swiftindex e4898342..226d2c0e 100644--- a/Sources/Fluid/Services/DictationPromptTestCoordinator.swift+++ b/Sources/Fluid/Services/DictationPromptTestCoordinator.swift@@ -38,4 +38,3 @@ final class DictationPromptTestCoordinator: ObservableObject {self.draftPromptText = text}}-diff --git a/Sources/Fluid/UI/AISettingsView.swift b/Sources/Fluid/UI/AISettingsView.swiftindex 11671bd5..0e66858d 100644--- a/Sources/Fluid/UI/AISettingsView.swift+++ b/Sources/Fluid/UI/AISettingsView.swift@@ -107,7 +107,7 @@ struct AISettingsView: View {@State private var promptEditorMode: PromptEditorMode? = nil@State private var draftPromptName: String = ""@State private var draftPromptText: String = ""- @State private var promptEditorSessionID: UUID = UUID()+ @State private var promptEditorSessionID: UUID = .init()// Prompt Deletion UI@State private var showingDeletePromptConfirm: Bool = false@@ -1729,8 +1729,8 @@ struct AISettingsView: View {? "This is the built-in prompt. Create a custom prompt to override it.": "Name and prompt text are used as the system prompt for dictation cleanup.")- .font(.caption)- .foregroundStyle(.secondary)+ .font(.caption)+ .foregroundStyle(.secondary)}Spacer()}@@ -1754,22 +1754,23 @@ struct AISettingsView: View {isEditable: true,font: NSFont.monospacedSystemFont(ofSize: NSFont.smallSystemFontSize, weight: .regular))- .id(self.promptEditorSessionID)- .frame(minHeight: 180)- .background(- RoundedRectangle(cornerRadius: 8, style: .continuous)- .fill(.ultraThinMaterial.opacity(0.25))- .overlay(- RoundedRectangle(cornerRadius: 8, style: .continuous)- .stroke(.white.opacity(0.12), lineWidth: 1)- )- )- .onChange(of: self.draftPromptText) { _, newValue in- self.promptTest.updateDraftPromptText(newValue)- }+ .id(self.promptEditorSessionID)+ .frame(minHeight: 180)+ .background(+ RoundedRectangle(cornerRadius: 8, style: .continuous)+ .fill(.ultraThinMaterial.opacity(0.25))+ .overlay(+ RoundedRectangle(cornerRadius: 8, style: .continuous)+ .stroke(.white.opacity(0.12), lineWidth: 1)+ )+ )+ .onChange(of: self.draftPromptText) { _, newValue in+ self.promptTest.updateDraftPromptText(newValue)+ }}// MARK: - Test Mode+VStack(alignment: .leading, spacing: 8) {HStack(spacing: 8) {Image(systemName: "waveform")diff --git a/Sources/Fluid/UI/PromptTextView.swift b/Sources/Fluid/UI/PromptTextView.swiftindex c80a009a..1619288c 100644--- a/Sources/Fluid/UI/PromptTextView.swift+++ b/Sources/Fluid/UI/PromptTextView.swift@@ -82,4 +82,3 @@ struct PromptTextView: NSViewRepresentable {}}}-