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

427 B
Raw Blame
import AppKit

/// Shared by startup and menu actions, since the title follows the selected page.
enum MainWindowIdentity {
    @MainActor
    static func matches(_ window: NSWindow) -> Bool {
        guard window.level == .normal, window.styleMask.contains(.titled) else { return false }
        return window.identifier?.rawValue.hasPrefix("main-AppWindow") == true
            || window.title.contains("FluidVoice")
    }
}