Skip to content

Commit d4961f6

Browse files
committed
fmt
1 parent 63befc5 commit d4961f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Coder Desktop/Coder Desktop/VPNMenuState.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ struct VPNMenuState {
105105
mutating func upsertWorkspace(_ workspace: Vpn_Workspace) {
106106
guard let wsID = UUID(uuidData: workspace.id) else { return }
107107
// Workspace names are unique & case-insensitive, and we want to show offline workspaces
108-
// with a valid hostname (lowercase).
108+
// with a valid hostname (lowercase).
109109
workspaces[wsID] = Workspace(id: wsID, name: workspace.name.lowercased(), agents: [])
110110
// Check if we can associate any invalid agents with this workspace
111111
invalidAgents.filter { agent in

Coder Desktop/Coder Desktop/Views/VPNMenu.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ struct VPNMenu<VPN: VPNService>: View {
8686
}
8787

8888
private var vpnDisabled: Bool {
89-
!session.hasSession ||
89+
!state.hasSession ||
9090
vpn.state == .connecting ||
9191
vpn.state == .disconnecting ||
9292
vpn.state == .failed(.systemExtensionError(.needsUserApproval))

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