mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-31 04:52:05 +00:00
Omit category title if single AND unnamed
This commit is contained in:
parent
05697b12cc
commit
7865f6a697
@ -157,7 +157,7 @@ extension ProviderPoolViewController: UITableViewDataSource, UITableViewDelegate
|
||||
}
|
||||
|
||||
func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
|
||||
guard categories.count > 1 else {
|
||||
if categories.count == 1 && categories.first?.name == "" {
|
||||
return nil
|
||||
}
|
||||
let model = categories[section]
|
||||
|
Loading…
Reference in New Issue
Block a user