Fix section header separator antialiasing issues. Issue #1226

This commit is contained in:
Maurice Parker
2019-11-01 11:40:52 -05:00
parent 3629108b09
commit 18bee355e0
2 changed files with 28 additions and 11 deletions

View File

@@ -174,6 +174,12 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner {
headerView.tag = section
headerView.disclosureExpanded = sectionNode.isExpanded
if section == tableView.numberOfSections - 1 {
headerView.isLastSection = true
} else {
headerView.isLastSection = false
}
let tap = UITapGestureRecognizer(target: self, action:#selector(self.toggleSectionHeader(_:)))
headerView.addGestureRecognizer(tap)