Remove obsolete code.

This commit is contained in:
Maurice Parker
2019-11-22 15:23:21 -06:00
parent e22c383136
commit dd7431d5cb
4 changed files with 4 additions and 17 deletions

View File

@@ -13,14 +13,6 @@ import Account
class MasterFeedDataSource: UITableViewDiffableDataSource<Node, Node> {
private var coordinator: SceneCoordinator!
init(coordinator: SceneCoordinator, tableView: UITableView, cellProvider: @escaping UITableViewDiffableDataSource<Node, Node>.CellProvider) {
super.init(tableView: tableView, cellProvider: cellProvider)
self.coordinator = coordinator
self.defaultRowAnimation = .middle
}
override func tableView(_ tableView: UITableView, canEditRowAt indexPath: IndexPath) -> Bool {
guard let node = itemIdentifier(for: indexPath), !(node.representedObject is PseudoFeed) else {
return false