We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9c30c6 commit 5e86b93Copy full SHA for 5e86b93
Core/Sources/SuggestionWidget/WidgetWindowsController.swift
@@ -93,6 +93,10 @@ actor WidgetWindowsController: NSObject {
93
let xcodeInspector = self.xcodeInspector
94
let activeApp = xcodeInspector.activeApplication
95
await MainActor.run {
96
+ let state = store.withState { $0 }
97
+ let isChatPanelDetached = state.chatPanelState.chatPanelInASeparateWindow
98
+ let hasChat = !state.chatPanelState.chatTabGroup.tabInfo.isEmpty
99
+
100
if let activeApp, activeApp.isXcode {
101
let application = activeApp.appElement
102
/// We need this to hide the windows when Xcode is minimized.
0 commit comments