Skip to content

Commit

Permalink
feat: update AdvancedViewController.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajhilje committed Nov 2, 2023
1 parent 9d9d58c commit ca8a1af
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit ca8a1af

Please sign in to comment.