File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Core/Sources/SuggestionWidget Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -373,7 +373,7 @@ extension SuggestionWidgetController {
373373 sourceEditorMonitorTask = nil
374374 observeEditorChangeIfNeeded ( app)
375375
376- guard let fileURL = await try ? await Environment . fetchFocusedElementURI ( ) else {
376+ guard let fileURL = try ? await Environment . fetchFocusedElementURI ( ) else {
377377 continue
378378 }
379379
@@ -541,7 +541,7 @@ extension SuggestionWidgetController {
541541 {
542542 let noFocus = {
543543 guard let xcode = ActiveApplicationMonitor . latestXcode else { return true }
544- let application = AXUIElementCreateApplication ( app . processIdentifier)
544+ let application = AXUIElementCreateApplication ( xcode . processIdentifier)
545545 return application
546546 . focusedWindow == nil || ( application. focusedWindow? . role == " AXWindow " )
547547 } ( )
You can’t perform that action at this time.
0 commit comments