Strip VPNManager initialization
This commit is contained in:
parent
1fd4fd4689
commit
b873e5e279
|
@ -104,23 +104,19 @@ class AppContext {
|
|||
)
|
||||
|
||||
#if targetEnvironment(simulator)
|
||||
vpnManager = VPNManager(
|
||||
appManager: appManager,
|
||||
profileManager: profileManager,
|
||||
providerManager: providerManager,
|
||||
strategy: VPNManager.MockStrategy()
|
||||
)
|
||||
let strategy = VPNManager.MockStrategy()
|
||||
#else
|
||||
vpnManager = VPNManager(
|
||||
appManager: appManager,
|
||||
profileManager: profileManager,
|
||||
providerManager: providerManager,
|
||||
strategy: VPNManager.TunnelKitStrategy(
|
||||
let strategy = VPNManager.TunnelKitStrategy(
|
||||
appGroup: Constants.App.appGroupId,
|
||||
tunnelBundleIdentifier: Constants.App.tunnelBundleId
|
||||
)
|
||||
)
|
||||
#endif
|
||||
vpnManager = VPNManager(
|
||||
appManager: appManager,
|
||||
profileManager: profileManager,
|
||||
providerManager: providerManager,
|
||||
strategy: strategy
|
||||
)
|
||||
|
||||
// app
|
||||
|
||||
|
|
Loading…
Reference in New Issue