Skip to content

Commit

Permalink
fix: supports mac catalyst (#40)
Browse files Browse the repository at this point in the history
* fix: supports mac catalyst

* simplify import logic
  • Loading branch information
phantumcode authored Dec 8, 2023
1 parent b26bf29 commit 4be0d8f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ import UserNotifications

#if canImport(WatchKit)
import WatchKit
#elseif canImport(AppKit)
import AppKit
typealias Application = NSApplication
#elseif canImport(UIKit)
import UIKit
typealias Application = UIApplication
#elseif canImport(AppKit)
import AppKit
typealias Application = NSApplication
#endif

@available(iOSApplicationExtension, unavailable)
Expand Down

0 comments on commit 4be0d8f

Please sign in to comment.