Skip to content

Commit 8ae9c9f

Browse files
committed
remove unused compiler directives
1 parent 8a8043a commit 8ae9c9f

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

Coder Desktop/Coder Desktop/Coder_DesktopApp.swift

+1-9
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,5 @@ class AppDelegate: NSObject, NSApplicationDelegate {
5252

5353
@MainActor
5454
func appActivate() {
55-
#if compiler(>=5.9) && canImport(AppKit)
56-
if #available(macOS 14, *) {
57-
NSApp.activate()
58-
} else {
59-
NSApp.activate(ignoringOtherApps: true)
60-
}
61-
#else
62-
NSApp.activate(ignoringOtherApps: true)
63-
#endif
55+
NSApp.activate()
6456
}

0 commit comments

Comments
 (0)