mirror of
https://github.com/kean/Nuke.git
synced 2024-11-28 12:04:01 +03:00
Merge ca1c16b7d9
into 1d748d4eac
This commit is contained in:
commit
99e8e5c997
@ -174,8 +174,7 @@ final class TaskLoadImage: AsyncPipelineTask<ImageResponse>, @unchecked Sendable
|
||||
|
||||
private func shouldStoreResponseInDataCache(_ response: ImageResponse) -> Bool {
|
||||
guard !response.container.isPreview,
|
||||
!(response.cacheType == .disk),
|
||||
!(request.url?.isLocalResource ?? false) else {
|
||||
!(response.cacheType == .disk) else {
|
||||
return false
|
||||
}
|
||||
let isProcessed = !request.processors.isEmpty || request.thumbnail != nil
|
||||
|
Loading…
Reference in New Issue
Block a user