Remove context menus from all header sections, not just the accounts.

This commit is contained in:
Maurice Parker 2019-12-11 14:42:45 -07:00
parent b95a692876
commit 1a26f21d03
1 changed files with 1 additions and 1 deletions

View File

@ -215,8 +215,8 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner {
let tap = UITapGestureRecognizer(target: self, action:#selector(self.toggleSectionHeader(_:))) let tap = UITapGestureRecognizer(target: self, action:#selector(self.toggleSectionHeader(_:)))
headerView.addGestureRecognizer(tap) headerView.addGestureRecognizer(tap)
headerView.interactions.removeAll()
if section != 0 { if section != 0 {
headerView.interactions.removeAll()
headerView.addInteraction(UIContextMenuInteraction(delegate: self)) headerView.addInteraction(UIContextMenuInteraction(delegate: self))
} }