Skip to content

Commit

Permalink
remove unused compiler directives
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanndickson committed Jan 22, 2025
1 parent fde633a commit e551166
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Coder Desktop/Coder Desktop/Coder_DesktopApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,5 @@ class AppDelegate: NSObject, NSApplicationDelegate {

@MainActor
func appActivate() {
#if compiler(>=5.9) && canImport(AppKit)
if #available(macOS 14, *) {
NSApp.activate()
} else {
NSApp.activate(ignoringOtherApps: true)
}
#else
NSApp.activate(ignoringOtherApps: true)
#endif
NSApp.activate()
}

0 comments on commit e551166

Please sign in to comment.