mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Fix section header separator antialiasing issues. Issue #1226
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user