From 1a26f21d03943dd3748fbd5d0cd387efd294965b Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Wed, 11 Dec 2019 14:42:45 -0700 Subject: [PATCH] Remove context menus from all header sections, not just the accounts. --- iOS/MasterFeed/MasterFeedViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iOS/MasterFeed/MasterFeedViewController.swift b/iOS/MasterFeed/MasterFeedViewController.swift index 3cc342cb6..98262460b 100644 --- a/iOS/MasterFeed/MasterFeedViewController.swift +++ b/iOS/MasterFeed/MasterFeedViewController.swift @@ -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)) }