Remove unneeded urlCache.

This commit is contained in:
Brent Simmons committed 2026-03-07 17:07:03 -08:00
1 parent 24a10f4874
commit 2d5829f934
1 file changed
+1 -16
@@ -271,23 +271,8 @@ private extension LocalAccountRefresher {
return false
}
static var urlCache = [String: URL]()
static func url(for feed: Feed) -> URL? {
assert(Thread.isMainThread)
let urlString = feed.url
if let url = urlCache[urlString] {
return url
}
if let url = URL(string: urlString) {
urlCache[urlString] = url
return url
}
return nil
URL(string: feed.url)
}
}