Skip to content

Commit

Permalink
Update Easydict/NewApp/Utility/Extensions/QueryService+ConfigurableSe…
Browse files Browse the repository at this point in the history
…rvice/CustomOpenAIService+ConfigurableService.swift

Co-authored-by: Tisfeng <[email protected]>
  • Loading branch information
phlpsong and tisfeng authored Mar 9, 2024
1 parent 9d07c1b commit 8a911d3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ private class CustomOpenAIViewModel: ObservableObject {
}

private func serviceConfigChanged() {
let userInfo: [String: Any] = [EZWindowTypeKey: service.windowType.rawValue]
let notification = Notification(name: .serviceHasUpdated, object: nil, userInfo: userInfo)
let notification = Notification(name: .serviceHasUpdated, object: nil, userInfo: nil)
NotificationCenter.default.post(notification)
}
}

0 comments on commit 8a911d3

Please sign in to comment.