diff options
author | Roopesh Chander <roop@roopc.net> | 2018-12-07 15:52:47 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2018-12-07 15:52:47 +0530 |
commit | e3801308cb324b9ae509f470bf50d429162488b7 (patch) | |
tree | 97c653388d47494a484a07bcd533e030f6381879 /WireGuard/WireGuard/UI/iOS | |
parent | Tunnels list: Deselect rows correctly (diff) | |
download | wireguard-apple-e3801308cb324b9ae509f470bf50d429162488b7.tar.xz wireguard-apple-e3801308cb324b9ae509f470bf50d429162488b7.zip |
Main VC: No need to refresh statuses if the tunnelsManager isn't initialized yet
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS')
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/MainViewController.swift | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/MainViewController.swift b/WireGuard/WireGuard/UI/iOS/MainViewController.swift index 0d2d681..74ad1ca 100644 --- a/WireGuard/WireGuard/UI/iOS/MainViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/MainViewController.swift @@ -65,10 +65,6 @@ extension MainViewController { func refreshTunnelConnectionStatuses() { if let tunnelsManager = tunnelsManager { tunnelsManager.refreshStatuses() - } else { - onTunnelsManagerReady = { tunnelsManager in - tunnelsManager.refreshStatuses() - } } } } |