mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Merge pull request #1368 from Wevah/favicon-master-fix
Favicon master fix
This commit is contained in:
@@ -136,6 +136,7 @@ final class FaviconDownloader {
|
||||
|
||||
if (!hasIcons) {
|
||||
self.homePageURLsWithNoFaviconURLCache.insert(url)
|
||||
self.homePageURLsWithNoFaviconURLCacheDirty = true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -169,6 +170,7 @@ final class FaviconDownloader {
|
||||
if let url = singleFaviconDownloader.homePageURL {
|
||||
if self.homePageToFaviconURLCache[url] == nil {
|
||||
self.homePageToFaviconURLCache[url] = singleFaviconDownloader.faviconURL
|
||||
self.homePageToFaviconURLCacheDirty = true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -85,8 +85,9 @@ private extension SingleFaviconDownloader {
|
||||
|
||||
if let image = image {
|
||||
self.iconImage = IconImage(image)
|
||||
self.postDidLoadFaviconNotification()
|
||||
}
|
||||
|
||||
self.postDidLoadFaviconNotification()
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user