mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-24 16:51:19 +01:00
Fix more build errors.
This commit is contained in:
parent
cb4027a951
commit
0630a89df3
@ -49,7 +49,7 @@ class ArticleRenderer {
|
||||
|
||||
lazy var baseURL: URL? = {
|
||||
|
||||
var s = self.article.permalink
|
||||
var s = self.article.url
|
||||
if s == nil {
|
||||
s = self.article.feed?.homePageURL
|
||||
}
|
||||
|
@ -130,7 +130,7 @@ import Account
|
||||
}
|
||||
|
||||
if let selectedNode = self.outlineView.item(atRow: selectedRow) as? Node {
|
||||
postSidebarSelectionDidChangeNotification(NSArray(object: selectedNode.representedObject))
|
||||
postSidebarSelectionDidChangeNotification([selectedNode.representedObject])
|
||||
}
|
||||
}
|
||||
|
||||
@ -173,7 +173,7 @@ private extension SidebarViewController {
|
||||
}
|
||||
}
|
||||
|
||||
func postSidebarSelectionDidChangeNotification(_ selectedObjects: NSArray?) {
|
||||
func postSidebarSelectionDidChangeNotification(_ selectedObjects: [AnyObject]?) {
|
||||
|
||||
let appInfo = AppInfo()
|
||||
if let selectedObjects = selectedObjects {
|
||||
|
Loading…
Reference in New Issue
Block a user