Fix more build errors.
This commit is contained in:
parent
cb4027a951
commit
0630a89df3
|
@ -49,7 +49,7 @@ class ArticleRenderer {
|
||||||
|
|
||||||
lazy var baseURL: URL? = {
|
lazy var baseURL: URL? = {
|
||||||
|
|
||||||
var s = self.article.permalink
|
var s = self.article.url
|
||||||
if s == nil {
|
if s == nil {
|
||||||
s = self.article.feed?.homePageURL
|
s = self.article.feed?.homePageURL
|
||||||
}
|
}
|
||||||
|
|
|
@ -130,7 +130,7 @@ import Account
|
||||||
}
|
}
|
||||||
|
|
||||||
if let selectedNode = self.outlineView.item(atRow: selectedRow) as? Node {
|
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()
|
let appInfo = AppInfo()
|
||||||
if let selectedObjects = selectedObjects {
|
if let selectedObjects = selectedObjects {
|
||||||
|
|
Loading…
Reference in New Issue