diff --git a/Evergreen/MainWindow/Sidebar/SidebarViewController.swift b/Evergreen/MainWindow/Sidebar/SidebarViewController.swift index 2ec925aa9..c097ca9d4 100644 --- a/Evergreen/MainWindow/Sidebar/SidebarViewController.swift +++ b/Evergreen/MainWindow/Sidebar/SidebarViewController.swift @@ -86,7 +86,7 @@ import RSCore @objc func faviconDidBecomeAvailable(_ note: Notification) { - configureAvailableCells() + applyToAvailableCells(configureFavicon) } @objc func feedSettingDidChange(_ note: Notification) { @@ -342,7 +342,7 @@ private extension SidebarViewController { cell.objectValue = node cell.name = nameFor(node) configureUnreadCount(cell, node) - cell.image = imageFor(node) + configureFavicon(cell, node) cell.shouldShowImage = node.representedObject is Feed } @@ -351,6 +351,11 @@ private extension SidebarViewController { cell.unreadCount = unreadCountFor(node) } + func configureFavicon(_ cell: SidebarCell, _ node: Node) { + + cell.image = imageFor(node) + } + func configureGroupCell(_ cell: NSTableCellView, _ node: Node) { cell.objectValue = node