mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-11 09:14:06 +01:00
Remove redundant nil check for homePageURL
This commit is contained in:
parent
6c5f0cc8b6
commit
ee48f4baba
@ -177,11 +177,9 @@ final class FaviconDownloader {
|
||||
|
||||
remainingFaviconURLs[homePageURL] = nil
|
||||
|
||||
if let url = singleFaviconDownloader.homePageURL {
|
||||
if self.homePageToFaviconURLCache[url] == nil {
|
||||
self.homePageToFaviconURLCache[url] = singleFaviconDownloader.faviconURL
|
||||
self.homePageToFaviconURLCacheDirty = true
|
||||
}
|
||||
if self.homePageToFaviconURLCache[homePageURL] == nil {
|
||||
self.homePageToFaviconURLCache[homePageURL] = singleFaviconDownloader.faviconURL
|
||||
self.homePageToFaviconURLCacheDirty = true
|
||||
}
|
||||
|
||||
postFaviconDidBecomeAvailableNotification(singleFaviconDownloader.faviconURL)
|
||||
|
Loading…
Reference in New Issue
Block a user