Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit470826c

Browse files
committed
fmt
1 parentab4af62 commit470826c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

‎Coder Desktop/Coder Desktop/SystemExtension.swift

Lines changed: 7 additions & 7 deletions
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
letversion=Bundle.main.object(forInfoDictionaryKey:"CFBundleVersion")as?String
178178
letshortVersion=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

Lines changed: 1 addition & 1 deletion
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-
ifself.tunnelState==.disabled{
223+
if tunnelState==.disabled{
224224
xpc.getPeerState()
225225
}
226226
tunnelState=.connected

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp