diff options
Diffstat (limited to 'WireGuard/AppDelegate.swift')
-rw-r--r-- | WireGuard/AppDelegate.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WireGuard/AppDelegate.swift b/WireGuard/AppDelegate.swift index 44464f8..6380636 100644 --- a/WireGuard/AppDelegate.swift +++ b/WireGuard/AppDelegate.swift @@ -11,7 +11,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? var appCoordinator: AppCoordinator! - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { self.window = UIWindow(frame: UIScreen.main.bounds) appCoordinator = AppCoordinator(window: self.window!) @@ -22,7 +22,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { return true } - func application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey: Any] = [:]) -> Bool { + func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey: Any] = [:]) -> Bool { defer { do { try FileManager.default.removeItem(at: url) |