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() {
|
@objc func scrollPositionDidChange() {
|
||||||
webView?.evaluateJavaScript("window.scrollY") { (scrollY, _) in
|
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
|
return
|
||||||
}
|
}
|
||||||
coordinator.expand(node)
|
coordinator.expand(node)
|
||||||
applyChanges(animated: true) { [weak self] in
|
applyChanges(animated: true)
|
||||||
self?.reloadNode(node)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func collapse(_ cell: MasterFeedTableViewCell) {
|
func collapse(_ cell: MasterFeedTableViewCell) {
|
||||||
|
@ -877,9 +875,7 @@ private extension MasterFeedViewController {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
coordinator.collapse(node)
|
coordinator.collapse(node)
|
||||||
applyChanges(animated: true) { [weak self] in
|
applyChanges(animated: true)
|
||||||
self?.reloadNode(node)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func makeFeedContextMenu(node: Node, indexPath: IndexPath, includeDeleteRename: Bool) -> UIContextMenuConfiguration {
|
func makeFeedContextMenu(node: Node, indexPath: IndexPath, includeDeleteRename: Bool) -> UIContextMenuConfiguration {
|
||||||
|
|
Loading…
Reference in New Issue