Skip to content

Commit f15a747

Browse files
committed
Remove unneeded calls
1 parent ec69b12 commit f15a747

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Core/Sources/SuggestionWidget/FeatureReducers/WidgetFeature.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -295,11 +295,7 @@ public struct WidgetFeature: ReducerProtocol {
295295
}.cancellable(id: CancelID.observeUserDefaults, cancelInFlight: true)
296296

297297
case .updateActiveApplication:
298-
return .run { send in
299-
if let app = await xcodeInspector.safe.activeApplication, app.isXcode {
300-
await send(.panel(.switchToAnotherEditorAndUpdateContent))
301-
}
302-
}
298+
return .none
303299

304300
case .updateColorScheme:
305301
let widgetColorScheme = UserDefaults.shared.value(for: \.widgetColorScheme)

0 commit comments

Comments
 (0)