Remove context menus from all header sections, not just the accounts.
This commit is contained in:
parent
b95a692876
commit
1a26f21d03
|
@ -215,8 +215,8 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner {
|
|||
let tap = UITapGestureRecognizer(target: self, action:#selector(self.toggleSectionHeader(_:)))
|
||||
headerView.addGestureRecognizer(tap)
|
||||
|
||||
headerView.interactions.removeAll()
|
||||
if section != 0 {
|
||||
headerView.interactions.removeAll()
|
||||
headerView.addInteraction(UIContextMenuInteraction(delegate: self))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue