Commit 3a88da74 authored by Jose Blaya's avatar Jose Blaya
Browse files

Merge branch '174-reset-settings-wrong-socket' into 'release/2.6.4'

Resolve "Reset settings wrong socket"

See merge request ios/vpn-ios!299
parents d86385ec cdd9006a
......@@ -322,11 +322,10 @@ class SettingsViewController: AutolayoutViewController {
guard let currentOpenVPNConfiguration = pendingPreferences.vpnCustomConfiguration(for: PIATunnelProfile.vpnType) as? PIATunnelProvider.Configuration else {
fatalError("No default VPN custom configuration provided for PIA protocol")
}
AppPreferences.shared.reset()
pendingOpenVPNSocketType = AppPreferences.shared.piaSocketType
pendingOpenVPNConfiguration = currentOpenVPNConfiguration.builder()
AppPreferences.shared.reset()
redisplaySettings()
reportUpdatedPreferences()
}
......
Markdown is supported
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