diff --git a/Shared/Favicons/FaviconDownloader.swift b/Shared/Favicons/FaviconDownloader.swift index 83412ea20..068ac580b 100644 --- a/Shared/Favicons/FaviconDownloader.swift +++ b/Shared/Favicons/FaviconDownloader.swift @@ -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 } } diff --git a/Shared/Favicons/SingleFaviconDownloader.swift b/Shared/Favicons/SingleFaviconDownloader.swift index 1772680aa..a7d4fd288 100644 --- a/Shared/Favicons/SingleFaviconDownloader.swift +++ b/Shared/Favicons/SingleFaviconDownloader.swift @@ -85,8 +85,9 @@ private extension SingleFaviconDownloader { if let image = image { self.iconImage = IconImage(image) - self.postDidLoadFaviconNotification() } + + self.postDidLoadFaviconNotification() } }