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
Added api key helper button next to api key field for providers ; removed tint from navbar
altic-dev8666243a545e
diff --git a/Sources/Fluid/ContentView.swift b/Sources/Fluid/ContentView.swiftindex 3064fa2f..4552889b 100644--- a/Sources/Fluid/ContentView.swift+++ b/Sources/Fluid/ContentView.swift@@ -777,10 +777,7 @@ struct ContentView: View {}private func sidebarRowBackground(for item: SidebarItem) -> some View {- let isSelected = self.selectedSidebarItem == item- return RoundedRectangle(cornerRadius: 8, style: .continuous)- .fill(isSelected ? self.settings.accentColor.opacity(0.15) : .clear)- .padding(.vertical, 2)+ return Color.clear}private var detailView: some View {diff --git a/Sources/Fluid/UI/AISettingsView+AIConfiguration.swift b/Sources/Fluid/UI/AISettingsView+AIConfiguration.swiftindex 3455f669..6c05fbbe 100644--- a/Sources/Fluid/UI/AISettingsView+AIConfiguration.swift+++ b/Sources/Fluid/UI/AISettingsView+AIConfiguration.swift@@ -570,9 +570,32 @@ extension AIEnhancementSettingsView {Text("API Key").font(.system(size: 12, weight: .medium)).foregroundStyle(.secondary)- SecureField("Enter API key", text: apiKeyBinding)- .textFieldStyle(.roundedBorder)- .font(.system(size: 13))+ HStack(alignment: .center, spacing: 8) {+ SecureField("Enter API key", text: apiKeyBinding)+ .textFieldStyle(.roundedBorder)+ .font(.system(size: 13))+ .frame(maxWidth: 200)+ if let websiteInfo = ModelRepository.shared.providerWebsiteURL(for: item.id),+ let url = URL(string: websiteInfo.url)+ {+ Button(action: { NSWorkspace.shared.open(url) }) {+ HStack(spacing: 4) {+ Image(systemName: websiteInfo.label.contains("Guide") ? "book.fill" : "key.fill")+ .font(.system(size: 10))+ Text(websiteInfo.label)+ .font(.system(size: 11, weight: .medium))+ }+ .padding(.horizontal, 10)+ .padding(.vertical, 5)+ .background(+ RoundedRectangle(cornerRadius: 6, style: .continuous)+ .fill(self.theme.palette.accent)+ )+ .foregroundStyle(.white)+ }+ .buttonStyle(.plain)+ }+ }}HStack(spacing: 10) {@@ -1100,10 +1123,32 @@ extension AIEnhancementSettingsView {.font(.system(size: 12, weight: .medium)).foregroundStyle(.secondary)}- SecureField("Enter API key", text: apiKeyBinding)- .textFieldStyle(.roundedBorder)- .font(.system(size: 13))- .frame(maxWidth: 300)+ HStack(alignment: .center, spacing: 8) {+ SecureField("Enter API key", text: apiKeyBinding)+ .textFieldStyle(.roundedBorder)+ .font(.system(size: 13))+ .frame(maxWidth: 200)+ if let websiteInfo = ModelRepository.shared.providerWebsiteURL(for: self.viewModel.selectedProviderID),+ let url = URL(string: websiteInfo.url)+ {+ Button(action: { NSWorkspace.shared.open(url) }) {+ HStack(spacing: 4) {+ Image(systemName: websiteInfo.label.contains("Guide") ? "book.fill" : "key.fill")+ .font(.system(size: 10))+ Text(websiteInfo.label)+ .font(.system(size: 11, weight: .medium))+ }+ .padding(.horizontal, 10)+ .padding(.vertical, 5)+ .background(+ RoundedRectangle(cornerRadius: 6, style: .continuous)+ .fill(self.theme.palette.accent)+ )+ .foregroundStyle(.white)+ }+ .buttonStyle(.plain)+ }+ }}}