Skip to content

Commit 470826c

Browse files
committed
fmt
1 parent ab4af62 commit 470826c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Coder Desktop/Coder Desktop/SystemExtension.swift

+7-7
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,12 @@ class SystemExtensionDelegate<AsyncDelegate: SystemExtensionAsyncRecorder>:
168168
) {
169169
// In debug builds we always replace the SE to test
170170
// changes made without bumping the version
171-
#if DEBUG
172-
Task { [asyncDelegate] in
173-
await asyncDelegate.recordSystemExtensionState(.uninstalled)
174-
}
175-
return
176-
#else
171+
#if DEBUG
172+
Task { [asyncDelegate] in
173+
await asyncDelegate.recordSystemExtensionState(.uninstalled)
174+
}
175+
return
176+
#else
177177
let version = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String
178178
let shortVersion = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String
179179

@@ -193,6 +193,6 @@ class SystemExtensionDelegate<AsyncDelegate: SystemExtensionAsyncRecorder>:
193193
Task { [asyncDelegate] in
194194
await asyncDelegate.recordSystemExtensionState(.uninstalled)
195195
}
196-
#endif
196+
#endif
197197
}
198198
}

Coder Desktop/Coder Desktop/VPNService.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ extension CoderVPNService {
220220
case .connected:
221221
// If we moved from disabled to connected, then the NE was already
222222
// running, and we need to request the current peer state
223-
if self.tunnelState == .disabled {
223+
if tunnelState == .disabled {
224224
xpc.getPeerState()
225225
}
226226
tunnelState = .connected

0 commit comments

Comments
 (0)