Skip to content

Commit

Permalink
Remove unused decoder parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Apr 21, 2024
1 parent 6a0a824 commit dbb4e99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Nuke/Tasks/TaskFetchOriginalImage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ final class TaskFetchOriginalImage: ImagePipelineTask<ImageResponse> {
}

decode(context, decoder: decoder) { [weak self] in
self?.didFinishDecoding(decoder: decoder, context: context, result: $0)
self?.didFinishDecoding(context: context, result: $0)
}
}

private func didFinishDecoding(decoder: any ImageDecoding, context: ImageDecodingContext, result: Result<ImageResponse, ImagePipeline.Error>) {
private func didFinishDecoding(context: ImageDecodingContext, result: Result<ImageResponse, ImagePipeline.Error>) {
operation = nil

switch result {
Expand Down

0 comments on commit dbb4e99

Please sign in to comment.