Fix more build errors.

This commit is contained in:
Brent Simmons 2017-10-02 00:53:58 -07:00
parent cb4027a951
commit 0630a89df3
2 changed files with 3 additions and 3 deletions

View File

@ -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
}

View File

@ -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 {