mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-09 08:39:00 +01:00
Commenting out feed context menus due to buggy implementation in Beta 6
This commit is contained in:
parent
87bef5cacf
commit
64fd5016a9
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user