Skip to content

Commit 66caa6c

Browse files
committed
Fix
1 parent 8a13e05 commit 66caa6c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Core/Sources/Service/GUI/GraphicalUserInterfaceController.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,13 @@ struct GUI: ReducerProtocol {
9898
Reduce { state, action in
9999
switch action {
100100
case .start:
101+
#if canImport(ChatTabPersistent)
101102
return .run { send in
102-
#if canImport(ChatTabPersistent)
103103
await send(.persistent(.restoreChatTabs))
104-
#endif
105104
}
105+
#else
106+
return .none
107+
#endif
106108

107109
case let .openChatPanel(forceDetach):
108110
return .run { send in

0 commit comments

Comments
 (0)