Set proper header/footer height in organizer

This commit is contained in:
Davide De Rosa 2020-06-01 10:24:07 +02:00
parent 6ed5f5cf02
commit 5460d041ce
1 changed files with 8 additions and 0 deletions

View File

@ -449,6 +449,14 @@ extension OrganizerViewController {
return model.footer(forSection: section)
}
override func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
return model.headerHeight(for: section)
}
override func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat {
return model.footerHeight(for: section)
}
override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return model.numberOfRows(forSection: section)
}