From ca8a1af3f92b416ac6c8b14416c6773f5d15e11e Mon Sep 17 00:00:00 2001 From: Juraj Hilje Date: Thu, 2 Nov 2023 10:56:28 +0100 Subject: [PATCH] feat: update AdvancedViewController.swift --- IVPNClient/Scenes/ViewControllers/AdvancedViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/IVPNClient/Scenes/ViewControllers/AdvancedViewController.swift b/IVPNClient/Scenes/ViewControllers/AdvancedViewController.swift index 27810ee38..b1814e8b6 100644 --- a/IVPNClient/Scenes/ViewControllers/AdvancedViewController.swift +++ b/IVPNClient/Scenes/ViewControllers/AdvancedViewController.swift @@ -77,6 +77,7 @@ class AdvancedViewController: UITableViewController { UserDefaults.shared.set(v2rayProtocol, forKey: UserDefaults.Key.v2rayProtocol) if UserDefaults.shared.isV2ray { + Application.shared.settings.connectionProtocol = Config.defaultProtocol evaluateReconnect(sender: sender as UIView) WidgetCenter.shared.reloadTimelines(ofKind: "IVPNWidget") }