mirror of
https://github.com/passepartoutvpn/wireguard-apple.git
synced 2025-01-31 21:12:07 +00:00
Fix typo for simulator builds
This commit is contained in:
parent
3ca5712ac1
commit
89fd494291
@ -55,7 +55,7 @@ class TunnelsManager {
|
||||
|
||||
func reload(completionHandler: @escaping (Bool) -> Void) {
|
||||
#if targetEnvironment(simulator)
|
||||
completionHandler(.success(false))
|
||||
completionHandler(false)
|
||||
#else
|
||||
NETunnelProviderManager.loadAllFromPreferences { managers, _ in
|
||||
guard let managers = managers else {
|
||||
|
Loading…
Reference in New Issue
Block a user