mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-19 13:00:21 +01: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:
parent
e4f65000b2
commit
32973c4c85
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user