mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-22 07:34:09 +01:00
Use ImageDownloader.shared.
This commit is contained in:
parent
ada9818541
commit
750e287ff9
@ -748,7 +748,7 @@ private extension TimelineViewController {
|
||||
}
|
||||
|
||||
func featuredImageFor(_ article: Article) -> UIImage? {
|
||||
if let link = article.imageLink, let data = appDelegate.imageDownloader.image(for: link) {
|
||||
if let link = article.imageLink, let data = ImageDownloader.shared.image(for: link) {
|
||||
return RSImage(data: data)
|
||||
}
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user