Skip to content

Commit 23b7f3c

Browse files
committed
Use isWindowHidden to control the opacity of chat window
1 parent 4818634 commit 23b7f3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Core/Sources/SuggestionWidget/FeatureReducers/WidgetFeature.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ public struct WidgetFeature: ReducerProtocol {
208208
await send(.updateWindowOpacity(immediately: false))
209209
if isDetached {
210210
Task { @MainActor in
211-
windows.chatPanelWindow.alphaValue = 1
211+
windows.chatPanelWindow.isWindowHidden = false
212212
}
213213
}
214214
}

0 commit comments

Comments
 (0)