Skip to content

Commit

Permalink
+1
Browse files Browse the repository at this point in the history
  • Loading branch information
borut-t committed May 22, 2024
1 parent 8793a4f commit 77b7d31
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Sources/Core/Extensions/Other/App.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ import AppKit

enum App {
/// Opens `Settings` app for current app.
static func openAppSettings() {
#if os(iOS)
static func openAppSettings() {
URL(string: UIApplication.openSettingsURLString).map(openUrl)
#elseif os(macOS)
URL(string: NSApplication)
#endif
}
#endif

/// Opens `App Store` and deep linking to the app with provided id.
static func openAppStore(appName: String, appleAppId: String) {
Expand Down

0 comments on commit 77b7d31

Please sign in to comment.