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

Add Dock/App Switcher hide toggle and 1.5.8 settings polish

altic-devd9a81fb42622
diff --git a/Info.plist b/Info.plist
index f771498e..76caeaec 100644
--- a/Info.plist
+++ b/Info.plist
@@ -13,9 +13,9 @@
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleVersion</key>
- <string>7</string>
+ <string>8</string>
<key>CFBundleShortVersionString</key>
- <string>1.5.7-beta.3</string>
+ <string>1.5.8</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>LSApplicationCategoryType</key>
diff --git a/Sources/Fluid/Persistence/SettingsStore.swift b/Sources/Fluid/Persistence/SettingsStore.swift
index d58f951e..c3313b00 100644
--- a/Sources/Fluid/Persistence/SettingsStore.swift
+++ b/Sources/Fluid/Persistence/SettingsStore.swift
@@ -1212,6 +1212,13 @@ final class SettingsStore: ObservableObject {
}
}
+ /// Issue #162 wording: hide app from Dock and Cmd+Tab when enabled.
+ /// Backed by existing `showInDock` storage to keep this change minimal.
+ var hideFromDockAndAppSwitcher: Bool {
+ get { !self.showInDock }
+ set { self.showInDock = !newValue }
+ }
+
var autoUpdateCheckEnabled: Bool {
get {
let value = self.defaults.object(forKey: Keys.autoUpdateCheckEnabled)
diff --git a/Sources/Fluid/Services/TextSelectionService.swift b/Sources/Fluid/Services/TextSelectionService.swift
index 595e8d8a..c29d9f23 100644
--- a/Sources/Fluid/Services/TextSelectionService.swift
+++ b/Sources/Fluid/Services/TextSelectionService.swift
@@ -99,8 +99,10 @@ final class TextSelectionService {
return nil
}
+ let axValue = unsafeBitCast(axRange, to: AXValue.self)
+
var range = CFRange()
- let gotRange = AXValueGetValue(axRange as! AXValue, .cfRange, &range)
+ let gotRange = AXValueGetValue(axValue, .cfRange, &range)
guard gotRange else {
self.diag("AXValueGetValue(.cfRange) failed")
return nil
diff --git a/Sources/Fluid/UI/SettingsView.swift b/Sources/Fluid/UI/SettingsView.swift
index 450b37d2..4490bbb4 100644
--- a/Sources/Fluid/UI/SettingsView.swift
+++ b/Sources/Fluid/UI/SettingsView.swift
@@ -96,6 +96,10 @@ struct SettingsView: View {
)
}
+ private var currentAppVersion: String {
+ Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String ?? "Unknown"
+ }
+
var body: some View {
ScrollView(.vertical, showsIndicators: false) {
VStack(spacing: 16) {
@@ -120,14 +124,14 @@ struct SettingsView: View {
)
Divider().opacity(0.2)
- // Show in Dock
+ // Hide from Dock & App Switcher
self.settingsToggleRow(
- title: "Show in Dock",
- description: "Display FluidVoice icon in the Dock",
+ title: "Hide from Dock & App Switcher",
+ description: "Keep FluidVoice in the menu bar only (hides Dock icon and Cmd+Tab entry)",
footnote: "Note: May require app restart to take effect.",
isOn: Binding(
- get: { SettingsStore.shared.showInDock },
- set: { SettingsStore.shared.showInDock = $0 }
+ get: { SettingsStore.shared.hideFromDockAndAppSwitcher },
+ set: { SettingsStore.shared.hideFromDockAndAppSwitcher = $0 }
)
)
Divider().opacity(0.2)
@@ -245,6 +249,10 @@ struct SettingsView: View {
.font(.caption)
.foregroundStyle(.tertiary)
}
+
+ Text("Current version: \(self.currentAppVersion)")
+ .font(.caption)
+ .foregroundStyle(.tertiary)
}
// Update Buttons
@@ -866,10 +874,10 @@ struct SettingsView: View {
.padding(16)
}
- // Visualization Sensitivity Card
+ // Overlay Settings Card
ThemedCard(style: .standard) {
VStack(alignment: .leading, spacing: 14) {
- Label("Visualization", systemImage: "waveform")
+ Label("Overlay", systemImage: "waveform")
.font(.headline)
.foregroundStyle(.primary)