From 9b55bca29231d1868113fa688a3b67d6af87dc21 Mon Sep 17 00:00:00 2001 From: Beingpax Date: Thu, 29 May 2025 18:11:02 +0545 Subject: [PATCH] . --- VoiceInk/PowerMode/ActiveWindowService.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/VoiceInk/PowerMode/ActiveWindowService.swift b/VoiceInk/PowerMode/ActiveWindowService.swift index 4e32256..4876123 100644 --- a/VoiceInk/PowerMode/ActiveWindowService.swift +++ b/VoiceInk/PowerMode/ActiveWindowService.swift @@ -134,13 +134,11 @@ class ActiveWindowService: ObservableObject { } } - // Capture screen context at the end after a brief delay to ensure all changes are settled - // and either enhancement is newly enabled or screen capture is newly enabled if config.isAIEnhancementEnabled && config.useScreenCapture { let shouldCaptureScreen = !wasEnhancementEnabled || !wasScreenCaptureEnabled if shouldCaptureScreen { - // Wait a moment for UI changes and content loading to complete + // Wait a moment for UI changes and model loading to complete try? await Task.sleep(nanoseconds: 1_500_000_000) // 1.5 seconds await enhancementService.captureScreenContext() }