]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
Import: Use the refactored function for Open-in
authorRoopesh Chander <roop@roopc.net>
Sun, 28 Oct 2018 20:39:50 +0000 (02:09 +0530)
committerRoopesh Chander <roop@roopc.net>
Sun, 28 Oct 2018 20:39:50 +0000 (02:09 +0530)
Signed-off-by: Roopesh Chander <roop@roopc.net>
WireGuard/WireGuard/UI/iOS/AppDelegate.swift

index d79b20ef5e4084cdcac95f7adf3e5a19df02c4c3..8d96b3026bd86b8d67b77695e444f79e6d986efe 100644 (file)
@@ -35,7 +35,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
                 os_log("Failed to remove item from Inbox: %{public}@", log: OSLog.default, type: .debug, url.absoluteString)
             }
         }
-        mainVC?.openForEditing(configFileURL: url)
+        mainVC?.tunnelsListVC?.importFromFile(url: url)
         return true
     }
 }