Merge branch 'ios-candidate' of https://github.com/Ranchero-Software/NetNewsWire into ios-candidate

This commit is contained in:
Brent Simmons 2020-01-25 15:13:37 -08:00
commit dcbcae185e
2 changed files with 3 additions and 7 deletions

View File

@ -423,7 +423,7 @@ extension WebViewController: UIScrollViewDelegate {
@objc func scrollPositionDidChange() {
webView?.evaluateJavaScript("window.scrollY") { (scrollY, _) in
self.restoreWindowScrollY = scrollY as! Int
self.restoreWindowScrollY = scrollY as? Int ?? 0
}
}

View File

@ -867,9 +867,7 @@ private extension MasterFeedViewController {
return
}
coordinator.expand(node)
applyChanges(animated: true) { [weak self] in
self?.reloadNode(node)
}
applyChanges(animated: true)
}
func collapse(_ cell: MasterFeedTableViewCell) {
@ -877,9 +875,7 @@ private extension MasterFeedViewController {
return
}
coordinator.collapse(node)
applyChanges(animated: true) { [weak self] in
self?.reloadNode(node)
}
applyChanges(animated: true)
}
func makeFeedContextMenu(node: Node, indexPath: IndexPath, includeDeleteRename: Bool) -> UIContextMenuConfiguration {