File tree Expand file tree Collapse file tree
Core/Sources/SuggestionWidget/FeatureReducers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,7 +49,9 @@ public struct WidgetFeature: ReducerProtocol {
4949 isProcessingCounters: circularWidgetState. isProcessingCounters,
5050 isProcessing: circularWidgetState. isProcessing,
5151 isDisplayingContent: {
52- if chatPanelState. isPanelDisplayed, chatPanelState. chatTapGroup. tabs. isEmpty {
52+ if chatPanelState. isPanelDisplayed,
53+ !chatPanelState. chatTapGroup. tabs. isEmpty
54+ {
5355 return true
5456 }
5557 if panelState. sharedPanelState. isPanelDisplayed,
@@ -64,10 +66,11 @@ public struct WidgetFeature: ReducerProtocol {
6466 }
6567 return false
6668 } ( ) ,
67- isContentEmpty: chatPanelState. chatTapGroup. tabs. isEmpty && panelState . sharedPanelState
68- . content == nil ,
69+ isContentEmpty: chatPanelState. chatTapGroup. tabs. isEmpty
70+ && panelState . sharedPanelState . content == nil ,
6971 isChatPanelDetached: chatPanelState. chatPanelInASeparateWindow,
70- isChatOpen: chatPanelState. isPanelDisplayed && chatPanelState. chatTapGroup. tabs. isEmpty,
72+ isChatOpen: chatPanelState. isPanelDisplayed
73+ && !chatPanelState. chatTapGroup. tabs. isEmpty,
7174 animationProgress: circularWidgetState. animationProgress
7275 )
7376 }
You can’t perform that action at this time.
0 commit comments