Fix bug finding favicon where it’s at the default location (/favicon.ico) and otherwise not specified.
This commit is contained in:
parent
1968986d64
commit
a420f377dc
|
@ -78,7 +78,7 @@ final class FaviconDownloader {
|
||||||
return favicon(with: faviconURL)
|
return favicon(with: faviconURL)
|
||||||
}
|
}
|
||||||
|
|
||||||
FaviconURLFinder.findFaviconURL(url) { (faviconURL) in
|
findFaviconURL(with: url) { (faviconURL) in
|
||||||
if let faviconURL = faviconURL {
|
if let faviconURL = faviconURL {
|
||||||
self.homePageToFaviconURLCache[url] = faviconURL
|
self.homePageToFaviconURLCache[url] = faviconURL
|
||||||
let _ = self.favicon(with: faviconURL)
|
let _ = self.favicon(with: faviconURL)
|
||||||
|
|
Loading…
Reference in New Issue