File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Core/Sources/SuggestionWidget/FeatureReducers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public struct WidgetFeature: ReducerProtocol {
5353 return true
5454 }
5555 if panelState. sharedPanelState. isPanelDisplayed,
56- panelState. sharedPanelState. content != nil
56+ ! panelState. sharedPanelState. isEmpty
5757 {
5858 return true
5959 }
@@ -65,7 +65,7 @@ public struct WidgetFeature: ReducerProtocol {
6565 return false
6666 } ( ) ,
6767 isContentEmpty: chatPanelState. chatTabGroup. tabInfo. isEmpty
68- && panelState. sharedPanelState. content == nil ,
68+ && panelState. sharedPanelState. isEmpty ,
6969 isChatPanelDetached: chatPanelState. chatPanelInASeparateWindow,
7070 isChatOpen: chatPanelState. isPanelDisplayed,
7171 animationProgress: circularWidgetState. animationProgress
@@ -311,7 +311,7 @@ public struct WidgetFeature: ReducerProtocol {
311311
312312 let documentURL = state. focusingDocumentURL
313313
314- return . run { send in
314+ return . run { [ app ] send in
315315 await send ( . observeEditorChange)
316316
317317 let notifications = AXNotificationStream (
You can’t perform that action at this time.
0 commit comments