Modules screen: Fix section headers not visible
This commit is contained in:
parent
67c5baee2b
commit
07de9ac4a9
1 changed files with 8 additions and 0 deletions
|
|
@ -353,6 +353,14 @@ extension PeripheralModulesViewController: UITableViewDataSource {
|
|||
return LocalizationManager.shared.localizedString(localizationKey)
|
||||
}
|
||||
|
||||
func tableView(_ tableView: UITableView, willDisplayHeaderView view: UIView, forSection section: Int){
|
||||
|
||||
// Make section titles white
|
||||
if let header = view as? UITableViewHeaderFooterView {
|
||||
header.textLabel?.textColor = UIColor.white
|
||||
}
|
||||
}
|
||||
|
||||
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
|
||||
|
||||
var reuseIdentifier: String
|
||||
|
|
|
|||
Loading…
Reference in a new issue