mirror of
https://github.com/kean/Nuke.git
synced 2024-11-28 12:04:01 +03:00
.storeAll now stores processed images for locals too, as it should be
This commit is contained in:
parent
a30faed641
commit
ca1c16b7d9
@ -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