Skip to content

Commit

Permalink
Fix compiling on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Arclite committed Jul 28, 2024
1 parent 38bb8e2 commit 3dd07fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Modules/Legacy/Core/Sources/Desktop/DesktopOpenWindow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import DesignSystem
import UIKit
import UserActivities

#if targetEnvironment(macCatalyst)
class DesktopOpenWindow: UIWindow {
override init(windowScene: UIWindowScene) {
super.init(windowScene: windowScene)
Expand Down Expand Up @@ -33,3 +34,4 @@ class DesktopOpenBrowserDelegate: NSObject, UIDocumentBrowserViewControllerDeleg
UIApplication.shared.requestSceneSessionActivation(nil, userActivity: activity, options: nil, errorHandler: nil)
}
}
#endif

0 comments on commit 3dd07fd

Please sign in to comment.