aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS/AppDelegate.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-10-29 02:09:50 +0530
committerRoopesh Chander <roop@roopc.net>2018-10-29 02:09:50 +0530
commit95a451f4e141f016f898d95591eca9509bf96fe8 (patch)
tree9633a8c5107b8e98b64b7c36124653ac217a0b62 /WireGuard/WireGuard/UI/iOS/AppDelegate.swift
parentImport: Minor refactoring (diff)
downloadwireguard-apple-95a451f4e141f016f898d95591eca9509bf96fe8.tar.xz
wireguard-apple-95a451f4e141f016f898d95591eca9509bf96fe8.zip
Import: Use the refactored function for Open-in
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/AppDelegate.swift')
-rw-r--r--WireGuard/WireGuard/UI/iOS/AppDelegate.swift2
1 files changed, 1 insertions, 1 deletions
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
}
}