Skip to content

Commit e551166

Browse files
committed
remove unused compiler directives
1 parent fde633a commit e551166

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
@@ -60,13 +60,5 @@ class AppDelegate: NSObject, NSApplicationDelegate {
6060

6161
@MainActor
6262
func appActivate() {
63-
#if compiler(>=5.9) && canImport(AppKit)
64-
if #available(macOS 14, *) {
65-
NSApp.activate()
66-
} else {
67-
NSApp.activate(ignoringOtherApps: true)
68-
}
69-
#else
70-
NSApp.activate(ignoringOtherApps: true)
71-
#endif
63+
NSApp.activate()
7264
}

0 commit comments

Comments
 (0)