Merge branch 'ios-candidate' of https://github.com/Ranchero-Software/NetNewsWire into ios-candidate
This commit is contained in:
commit
dcbcae185e
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue