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(settings): move fast dictation control
altic-devb47d8dbfb00d
diff --git a/Sources/Fluid/UI/AISettings/VoiceEngineSettingsViewModel.swift b/Sources/Fluid/UI/AISettings/VoiceEngineSettingsViewModel.swiftindex 186de137..a3a7729e 100644--- a/Sources/Fluid/UI/AISettings/VoiceEngineSettingsViewModel.swift+++ b/Sources/Fluid/UI/AISettings/VoiceEngineSettingsViewModel.swift@@ -27,7 +27,6 @@ final class VoiceEngineSettingsViewModel: ObservableObject {@Published var downloadProgress: Double = 0.0@Published var removeFillerWordsEnabled: Bool- @Published var parakeetFinalizationMode: ParakeetFinalizationModeinit(settings: SettingsStore, appServices: AppServices) {self.settings = settings@@ -35,14 +34,12 @@ final class VoiceEngineSettingsViewModel: ObservableObject {self.previewSpeechModel = settings.selectedSpeechModelself.selectedSpeechProvider = settings.selectedSpeechModel.providerself.removeFillerWordsEnabled = settings.removeFillerWordsEnabled- self.parakeetFinalizationMode = settings.parakeetFinalizationMode}func onAppear() {self.previewSpeechModel = self.settings.selectedSpeechModelself.selectedSpeechProvider = self.settings.selectedSpeechModel.providerself.removeFillerWordsEnabled = self.settings.removeFillerWordsEnabled- self.parakeetFinalizationMode = self.settings.parakeetFinalizationModeTask {await self.asr.checkIfModelsExistAsync()diff --git a/Sources/Fluid/UI/AISettingsView+SpeechRecognition.swift b/Sources/Fluid/UI/AISettingsView+SpeechRecognition.swiftindex 142d1f24..b339c352 100644--- a/Sources/Fluid/UI/AISettingsView+SpeechRecognition.swift+++ b/Sources/Fluid/UI/AISettingsView+SpeechRecognition.swift@@ -158,10 +158,6 @@ extension VoiceEngineSettingsView {// Filler Words Sectionself.fillerWordsSection-- if self.settings.selectedSpeechModel == .parakeetTDT || self.settings.selectedSpeechModel == .parakeetTDTv2 {- self.parakeetDevelopmentSection- }}}}@@ -679,55 +675,6 @@ extension VoiceEngineSettingsView {}}- var parakeetDevelopmentSection: some View {- VStack(alignment: .leading, spacing: 10) {- HStack(spacing: 8) {- Image(systemName: "flask")- .font(.caption)- .foregroundStyle(.orange)- Text("Under Development")- .font(.body)- .fontWeight(.semibold)- Spacer()- }-- HStack(alignment: .center, spacing: 12) {- VStack(alignment: .leading, spacing: 4) {- Text("Dictation Speed")- .font(.callout)- .fontWeight(.semibold)- Text(self.viewModel.parakeetFinalizationMode.detailText)- .font(.caption)- .foregroundStyle(.secondary)- .lineLimit(2)- }-- Spacer(minLength: 8)-- Picker("", selection: self.$viewModel.parakeetFinalizationMode) {- ForEach(ParakeetFinalizationMode.allCases) { mode in- Text(mode.displayName).tag(mode)- }- }- .pickerStyle(.segmented)- .frame(width: 260)- .disabled(self.viewModel.asr.isRunning)- .onChange(of: self.viewModel.parakeetFinalizationMode) { _, newValue in- self.settings.parakeetFinalizationMode = newValue- }- }- }- .padding(12)- .background(- RoundedRectangle(cornerRadius: 10)- .fill(.orange.opacity(0.08))- .overlay(- RoundedRectangle(cornerRadius: 10)- .stroke(.orange.opacity(0.22), lineWidth: 1)- )- )- }-// MARK: - Speech Model Logo Viewprivate func speechModelLogoView(for model: SettingsStore.SpeechModel) -> some View {diff --git a/Sources/Fluid/UI/SettingsView.swift b/Sources/Fluid/UI/SettingsView.swiftindex 94c87936..1a62efe0 100644--- a/Sources/Fluid/UI/SettingsView.swift+++ b/Sources/Fluid/UI/SettingsView.swift@@ -1326,6 +1326,59 @@ struct SettingsView: View {.padding(16)}+ // Under Development Card+ ThemedCard(style: .standard) {+ VStack(alignment: .leading, spacing: 14) {+ Label("Under Development", systemImage: "exclamationmark.triangle")+ .font(.headline)+ .foregroundStyle(.primary)++ HStack(alignment: .top, spacing: 10) {+ Image(systemName: "exclamationmark.circle")+ .font(.body)+ .foregroundStyle(.secondary)+ .padding(.top, 2)++ VStack(alignment: .leading, spacing: 12) {+ HStack(alignment: .center, spacing: 12) {+ VStack(alignment: .leading, spacing: 2) {+ Text("Dictation Speed")+ .font(.body)+ Text(self.settings.parakeetFinalizationMode.detailText)+ .font(.subheadline)+ .foregroundStyle(.secondary)+ .fixedSize(horizontal: false, vertical: true)+ }++ Spacer(minLength: 12)++ Picker("", selection: self.$settings.parakeetFinalizationMode) {+ ForEach(ParakeetFinalizationMode.allCases) { mode in+ Text(mode.displayName).tag(mode)+ }+ }+ .pickerStyle(.segmented)+ .frame(width: 220)+ .disabled(self.asr.isRunning)+ }++ Text("Fast can finish sooner by reusing live transcription, but it may be less accurate or inconsistent. Normal is the safer default.")+ .font(.caption)+ .foregroundStyle(.secondary)+ .fixedSize(horizontal: false, vertical: true)+ }+ }++ if self.asr.isRunning {+ Text("Settings are disabled during active recording")+ .font(.caption)+ .foregroundStyle(.secondary)+ .italic()+ }+ }+ .padding(16)+ }+// Debug Settings CardThemedCard(style: .standard) {VStack(alignment: .leading, spacing: 14) {