mirror of
https://github.com/passepartoutvpn/wireguard-apple.git
synced 2025-02-20 14:52:16 +00:00
Main VC: No need to refresh statuses if the tunnelsManager isn't initialized yet
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
parent
05d0429c50
commit
e3801308cb
@ -65,10 +65,6 @@ extension MainViewController {
|
||||
func refreshTunnelConnectionStatuses() {
|
||||
if let tunnelsManager = tunnelsManager {
|
||||
tunnelsManager.refreshStatuses()
|
||||
} else {
|
||||
onTunnelsManagerReady = { tunnelsManager in
|
||||
tunnelsManager.refreshStatuses()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user