From 64fd5016a9b6390f4b322b5e0c81ba0a41c4b5d8 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Tue, 20 Aug 2019 05:43:39 -0500 Subject: [PATCH] Commenting out feed context menus due to buggy implementation in Beta 6 --- iOS/MasterFeed/MasterFeedViewController.swift | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/iOS/MasterFeed/MasterFeedViewController.swift b/iOS/MasterFeed/MasterFeedViewController.swift index 390890c06..bb4c91b14 100644 --- a/iOS/MasterFeed/MasterFeedViewController.swift +++ b/iOS/MasterFeed/MasterFeedViewController.swift @@ -296,16 +296,16 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner { } - override func tableView(_ tableView: UITableView, contextMenuConfigurationForRowAt indexPath: IndexPath, point: CGPoint) -> UIContextMenuConfiguration? { - guard let node = coordinator.nodeFor(indexPath), !(node.representedObject is PseudoFeed) else { - return nil - } - if node.representedObject is Feed { - return makeFeedContextMenu(indexPath: indexPath, includeDeleteRename: true) - } else { - return makeFolderContextMenu(indexPath: indexPath) - } - } +// override func tableView(_ tableView: UITableView, contextMenuConfigurationForRowAt indexPath: IndexPath, point: CGPoint) -> UIContextMenuConfiguration? { +// guard let node = coordinator.nodeFor(indexPath), !(node.representedObject is PseudoFeed) else { +// return nil +// } +// if node.representedObject is Feed { +// return makeFeedContextMenu(indexPath: indexPath, includeDeleteRename: true) +// } else { +// return makeFolderContextMenu(indexPath: indexPath) +// } +// } override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { coordinator.selectFeed(indexPath)