Merge branch 'mac-release'

This commit is contained in:
Maurice Parker 2019-09-06 17:03:38 -05:00
commit a4b01fda35
1 changed files with 2 additions and 12 deletions

View File

@ -513,18 +513,8 @@ final class TimelineViewController: NSViewController, UndoableCommandRunner, Unr
}
@objc func faviconDidBecomeAvailable(_ note: Notification) {
guard showAvatars, let faviconURL = note.userInfo?[FaviconDownloader.UserInfoKey.faviconURL] as? String else {
return
}
let indexesToReload = tableView.indexesOfAvailableRowsPassingTest { (row) -> Bool in
guard let article = articles.articleAtRow(row) else {
return false
}
return article.feed?.faviconURL == faviconURL
}
if let indexesToReload = indexesToReload {
reloadCells(for: indexesToReload)
if showAvatars {
queueReloadAvailableCells()
}
}