Fix bug finding favicon where it’s at the default location (/favicon.ico) and otherwise not specified.

This commit is contained in:
Brent Simmons 2017-12-30 13:16:40 -08:00
parent 1968986d64
commit a420f377dc
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ final class FaviconDownloader {
return favicon(with: faviconURL)
}
FaviconURLFinder.findFaviconURL(url) { (faviconURL) in
findFaviconURL(with: url) { (faviconURL) in
if let faviconURL = faviconURL {
self.homePageToFaviconURLCache[url] = faviconURL
let _ = self.favicon(with: faviconURL)