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
lint and format
altic-devc0c7cd6c5a26
diff --git a/Sources/Fluid/AppDelegate.swift b/Sources/Fluid/AppDelegate.swiftindex c2947594..4e389b6e 100644--- a/Sources/Fluid/AppDelegate.swift+++ b/Sources/Fluid/AppDelegate.swift@@ -130,7 +130,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {if result.hasUpdate {DebugLogger.shared.info("✅ Update available: \(result.latestVersion)", source: "AppDelegate")-+// Check if user snoozed this version (clicked "Later")if SettingsStore.shared.shouldShowUpdatePrompt(forVersion: result.latestVersion) {// Show update notification on main threaddiff --git a/Sources/Fluid/Services/AudioStartupGate.swift b/Sources/Fluid/Services/AudioStartupGate.swiftindex 4a3ede9d..3b86f1eb 100644--- a/Sources/Fluid/Services/AudioStartupGate.swift+++ b/Sources/Fluid/Services/AudioStartupGate.swift@@ -50,4 +50,3 @@ actor AudioStartupGate {pending.forEach { $0.resume() }}}-diff --git a/Sources/Fluid/Services/GlobalHotkeyManager.swift b/Sources/Fluid/Services/GlobalHotkeyManager.swiftindex dfaa52fa..24786431 100644--- a/Sources/Fluid/Services/GlobalHotkeyManager.swift+++ b/Sources/Fluid/Services/GlobalHotkeyManager.swift@@ -393,12 +393,12 @@ final class GlobalHotkeyManager: NSObject {if self.rewriteModeShortcutEnabled, self.rewriteModeShortcut.modifierFlags.isEmpty {// Check if this is an actual modifier key (not a regular key)let isModifierKey = keyCode == 54 || keyCode == 55 || // Command keys- keyCode == 58 || keyCode == 61 || // Option keys- keyCode == 59 || keyCode == 62 || // Control keys- keyCode == 56 || keyCode == 60 || // Shift keys- keyCode == 63 // Function key-- if isModifierKey && keyCode == self.rewriteModeShortcut.keyCode {+ keyCode == 58 || keyCode == 61 || // Option keys+ keyCode == 59 || keyCode == 62 || // Control keys+ keyCode == 56 || keyCode == 60 || // Shift keys+ keyCode == 63 // Function key++ if isModifierKey, keyCode == self.rewriteModeShortcut.keyCode {if isModifierPressed {if self.pressAndHoldMode {if !self.isRewriteKeyPressed {diff --git a/Sources/Fluid/Services/SimpleUpdater.swift b/Sources/Fluid/Services/SimpleUpdater.swiftindex 2fb60cfd..16edc263 100644--- a/Sources/Fluid/Services/SimpleUpdater.swift+++ b/Sources/Fluid/Services/SimpleUpdater.swift@@ -238,13 +238,13 @@ final class SimpleUpdater {private func parseVersion(_ s: String) -> [Int] {var t = s.hasPrefix("v") ? String(s.dropFirst()) : s-+// Strip any suffix after hyphen (e.g., "1.5.2-beta.1" → "1.5.2")// This handles pre-release suffixes like -beta, -alpha, -rc1, etc.if let hyphenIndex = t.firstIndex(of: "-") {t = String(t[..<hyphenIndex])}-+let comps = t.split(separator: ".").map { Int($0) ?? 0 }return [comps[safe: 0] ?? 0, comps[safe: 1] ?? 0, comps[safe: 2] ?? 0]}