diff options
author | Roopesh Chander <roop@roopc.net> | 2018-11-12 16:04:03 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2018-11-12 19:24:13 +0530 |
commit | 923d039a78e8a4a026bda684ce4b84956e074353 (patch) | |
tree | 21029f46dc8bebe50164b364b17171ecf3c41dc5 /WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift | |
parent | Tunnel edit: Update for VPN-on-demand changes (diff) | |
download | wireguard-apple-923d039a78e8a4a026bda684ce4b84956e074353.tar.xz wireguard-apple-923d039a78e8a4a026bda684ce4b84956e074353.zip |
Tunnels manager: Keep track of NETunnelProviderManager's isOnDemandEnabled property
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift')
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift b/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift index ba61743..af06eb6 100644 --- a/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift @@ -226,10 +226,10 @@ class TunnelsListTableViewController: UIViewController { func refreshTunnelConnectionStatuses() { if let tunnelsManager = tunnelsManager { - tunnelsManager.refreshConnectionStatuses() + tunnelsManager.refreshStatuses() } else { onTunnelsManagerReady = { tunnelsManager in - tunnelsManager.refreshConnectionStatuses() + tunnelsManager.refreshStatuses() } } } |