Skip to content

Commit

Permalink
feat: update PortViewController
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajhilje committed Oct 11, 2023
1 parent 25094f9 commit 199a825
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions IVPNClient/Scenes/ViewControllers/PortViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ class PortViewController: UITableViewController {
extension PortViewController {

override func numberOfSections(in tableView: UITableView) -> Int {
if UserDefaults.shared.isV2ray {
return 1
}

return 2
}

Expand Down

0 comments on commit 199a825

Please sign in to comment.