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 notch policy screen drift
altic-devcdb0906cf67b
diff --git a/Sources/Fluid/Services/NotchOverlayManager.swift b/Sources/Fluid/Services/NotchOverlayManager.swiftindex a7a1772b..464f0c43 100644--- a/Sources/Fluid/Services/NotchOverlayManager.swift+++ b/Sources/Fluid/Services/NotchOverlayManager.swift@@ -92,6 +92,7 @@ final class NotchOverlayManager {private(set) var currentNotchPresentationMode: SettingsStore.NotchPresentationMode = .standardprivate(set) var currentNotchPresentationPolicy = NotchPresentationPolicy.standardprivate(set) var currentScreenSupportsCompactPresentation = false+ private var presentationPolicyScreen: NSScreen?private init() {self.refreshNotchPresentationPolicy()@@ -206,6 +207,7 @@ final class NotchOverlayManager {/// Show notch overlay (original behavior)private func showNotchOverlay(audioLevelPublisher: AnyPublisher<CGFloat, Never>, mode: OverlayMode) {let targetScreen = self.preferredPresentationScreen()+ self.presentationPolicyScreen = targetScreenself.refreshNotchPresentationPolicy(for: targetScreen)self.currentAudioPublisher = audioLevelPublisher@@ -588,7 +590,7 @@ final class NotchOverlayManager {private func refreshNotchPresentationPolicy(for screen: NSScreen? = nil) {let mode = SettingsStore.shared.notchPresentationModeself.currentNotchPresentationMode = mode- let resolvedScreen = screen ?? self.preferredPresentationScreen()+ let resolvedScreen = screen ?? self.presentationPolicyScreen ?? self.preferredPresentationScreen()self.currentScreenSupportsCompactPresentation = self.supportsCompactPresentation(on: resolvedScreen)self.currentNotchPresentationPolicy = .forMode(mode,