mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-06 04:07:54 +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:
1 parent
e4f65000b2
commit
32973c4c85
1 file changed
+1
-1
@@ -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