Skip to content

Commit 320dac8

Browse files
committed
words
1 parent 0f527dd commit 320dac8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Coder-Desktop/Coder-Desktop/Coder_DesktopApp.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
8585
image: "MenuBarIcon",
8686
onAppear: {
8787
// If the VPN is enabled, it's likely the token isn't expired
88-
guard case .disabled = self.vpn.state, self.state.hasSession else { return }
88+
guard self.vpn.state != .connected, self.state.hasSession else { return }
8989
Task { @MainActor in
9090
await self.state.handleTokenExpiry()
9191
}

Coder-Desktop/VPNLib/CoderRouter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public enum OpenError: Error {
6767
case let .invalidAgent(workspace: workspace, agent: agent):
6868
"Could not find agent '\(agent)' in workspace '\(workspace)'. Is the workspace running?"
6969
case let .couldNotCreateRDPURL(rdpString):
70-
"Could not create construct RDP url from '\(rdpString)'."
70+
"Could not construct RDP URL from '\(rdpString)'."
7171
}
7272
}
7373

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy