Commit e97c0c53 authored by Davide De Rosa's avatar Davide De Rosa
Browse files

Pick VPN disconnectsOnSleep from preferences

parent 8ddfc12f
......@@ -262,7 +262,7 @@ class DefaultVPNProvider: VPNProvider, ConfigurationAccess, DatabaseAccess, Pref
server: accessedProviders.serverProvider.targetServer,
port: port,
isOnDemand: accessedPreferences.isPersistentConnection,
disconnectsOnSleep: false,
disconnectsOnSleep: accessedPreferences.vpnDisconnectsOnSleep,
customConfiguration: customConfiguration
)
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment