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() }