aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/iOS/AppDelegate.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-12-03 18:51:51 +0530
committerRoopesh Chander <roop@roopc.net>2018-12-03 18:51:51 +0530
commit046d1413ec83670bb9fb2de5a461c6e4b5d6e400 (patch)
treeb3bfac80ace79a05e99003c6900485f326b4a07a /WireGuard/WireGuard/UI/iOS/AppDelegate.swift
parentVPN: Error out when tunnel activation fails because there's no internet (diff)
downloadwireguard-apple-046d1413ec83670bb9fb2de5a461c6e4b5d6e400.tar.xz
wireguard-apple-046d1413ec83670bb9fb2de5a461c6e4b5d6e400.zip
Refactor out VPN-handling stuff from tunnels list VC to the main VC
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 fabdae9..7ba77e4 100644
--- a/WireGuard/WireGuard/UI/iOS/AppDelegate.swift
+++ b/WireGuard/WireGuard/UI/iOS/AppDelegate.swift
@@ -39,6 +39,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
}
func applicationDidBecomeActive(_ application: UIApplication) {
- mainVC?.tunnelsListVC?.refreshTunnelConnectionStatuses()
+ mainVC?.refreshTunnelConnectionStatuses()
}
}