From 64af8840feda2ccbfa8967fc2c14b3717cc0de33 Mon Sep 17 00:00:00 2001 From: Nate Weaver Date: Wed, 27 Nov 2019 15:45:14 -0600 Subject: [PATCH] Mark appropriate caches as dirty --- Shared/Favicons/FaviconDownloader.swift | 2 ++ 1 file changed, 2 insertions(+) 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 } }