Polish code of AboutTableViewController
This commit is contained in:
parent
43b71f2704
commit
853ea547e2
1 changed files with 2 additions and 4 deletions
|
|
@ -39,11 +39,9 @@ class AboutTableViewController: BasicStaticTableViewController {
|
|||
return nil
|
||||
}
|
||||
|
||||
override func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
|
||||
override func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
|
||||
if section == 1 {
|
||||
let view = UITableViewHeaderFooterView()
|
||||
view.textLabel?.text = "Acknowledgements".uppercased()
|
||||
return view
|
||||
return "Acknowledgements".uppercased()
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue