Merge branch 'mac-release'
This commit is contained in:
commit
a4b01fda35
@ -513,18 +513,8 @@ final class TimelineViewController: NSViewController, UndoableCommandRunner, Unr
|
|||||||
}
|
}
|
||||||
|
|
||||||
@objc func faviconDidBecomeAvailable(_ note: Notification) {
|
@objc func faviconDidBecomeAvailable(_ note: Notification) {
|
||||||
guard showAvatars, let faviconURL = note.userInfo?[FaviconDownloader.UserInfoKey.faviconURL] as? String else {
|
if showAvatars {
|
||||||
return
|
queueReloadAvailableCells()
|
||||||
}
|
|
||||||
|
|
||||||
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)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user