Merge branch 'ios-candidate'

This commit is contained in:
Maurice Parker
2022-09-22 20:50:35 -05:00
16 changed files with 264 additions and 91 deletions

View File

@@ -459,6 +459,13 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner, Ma
}
}
override func canPerformAction(_ action: Selector, withSender sender: Any?) -> Bool {
if action == #selector(UIResponder.delete(_:)) {
return isFirstResponder
}
return super.canPerformAction(action, withSender: sender)
}
@objc func expandSelectedRows(_ sender: Any?) {
if let indexPath = coordinator.currentFeedIndexPath, let node = coordinator.nodeFor(indexPath) {
coordinator.expand(node)