Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Core/Sources/ChatGPTChatTab/Chat.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import AppKit
import ChatBasic
import ChatService
import ComposableArchitecture
Expand Down Expand Up @@ -124,8 +125,6 @@ struct Chat {
case sendMessage(UUID)
}

@Dependency(\.openURL) var openURL

var body: some ReducerOf<Self> {
BindingReducer()

Expand Down Expand Up @@ -214,7 +213,7 @@ struct Chat {
print(error)
}
} else if let url = URL(string: reference.uri), url.scheme != nil {
await openURL(url)
NSWorkspace.shared.open(url)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -486,8 +486,7 @@ struct PseudoCommandHandler: CommandHandler {
#endif
} else {
Task {
@Dependency(\.openURL) var openURL
await openURL(url)
NSWorkspace.shared.open(url)
}
}
case let .builtinExtension(extensionIdentifier, id, _):
Expand Down
4 changes: 2 additions & 2 deletions Version.xcconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
APP_VERSION = 0.37.2
APP_BUILD = 490
APP_VERSION = 0.37.3
APP_BUILD = 492
RELEASE_CHANNEL =
RELEASE_NUMBER = 1