diff --git a/IVPNClient/Scenes/ViewControllers/PortViewController.swift b/IVPNClient/Scenes/ViewControllers/PortViewController.swift index b83369412..79cb1fcd9 100644 --- a/IVPNClient/Scenes/ViewControllers/PortViewController.swift +++ b/IVPNClient/Scenes/ViewControllers/PortViewController.swift @@ -87,6 +87,10 @@ class PortViewController: UITableViewController { extension PortViewController { override func numberOfSections(in tableView: UITableView) -> Int { + if UserDefaults.shared.isV2ray { + return 1 + } + return 2 }