mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Fix an ambiguous call to download in DownloadWithCacheManager. I’m honestly not sure what function would have been called.
This commit is contained in:
@@ -127,7 +127,7 @@ private final class DownloadWithCacheManager {
|
||||
return
|
||||
}
|
||||
|
||||
download(url) { (data, response, error) in
|
||||
OneShotDownloadManager.shared.download(url) { (data, response, error) in
|
||||
|
||||
if let _ = error, let cacheRecord = cacheRecord {
|
||||
// In the case where a cache record has expired, but the download returned an error, we use the cache record anyway. By design.
|
||||
|
||||
Reference in New Issue
Block a user