From b9c3e062ea58dd068eb316210c8a953229a7d705 Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Mon, 29 Oct 2018 02:09:50 +0530 Subject: [PATCH] Import: Use the refactored function for Open-in --- WireGuard/WireGuard/UI/iOS/AppDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WireGuard/WireGuard/UI/iOS/AppDelegate.swift b/WireGuard/WireGuard/UI/iOS/AppDelegate.swift index d79b20e..8d96b30 100644 --- a/WireGuard/WireGuard/UI/iOS/AppDelegate.swift +++ b/WireGuard/WireGuard/UI/iOS/AppDelegate.swift @@ -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 } }