Skip to content

Commit

Permalink
Redo: Redo except for CPListItem.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyosung-finda committed Feb 19, 2023
1 parent 8b13873 commit c199298
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions Sources/Extensions/ImageView+Kingfisher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,6 @@ extension KingfisherWrapper where Base: KFCrossPlatformImageView {
if let image = options.onFailureImage {
mutatingSelf.placeholder = nil
self.base.image = image
} else {
mutatingSelf.placeholder = placeholder
}
completionHandler?(result)
}
Expand Down
2 changes: 0 additions & 2 deletions Sources/Extensions/NSButton+Kingfisher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ extension KingfisherWrapper where Base: NSButton {
case .failure:
if let image = options.onFailureImage {
self.base.image = image
} else {
self.base.image = placeholder
}
completionHandler?(result)
}
Expand Down
2 changes: 0 additions & 2 deletions Sources/Extensions/NSTextAttachment+Kingfisher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,6 @@ extension KingfisherWrapper where Base: NSTextAttachment {
case .failure:
if let image = options.onFailureImage {
self.base.image = image
} else {
self.base.image = placeholder
}
}
completionHandler?(result)
Expand Down
2 changes: 0 additions & 2 deletions Sources/Extensions/TVMonogramView+Kingfisher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,6 @@ extension KingfisherWrapper where Base: TVMonogramView {
case .failure:
if let image = options.onFailureImage {
self.base.image = image
} else {
self.base.image = placeholder
}
completionHandler?(result)
}
Expand Down
2 changes: 0 additions & 2 deletions Sources/Extensions/UIButton+Kingfisher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,6 @@ extension KingfisherWrapper where Base: UIButton {
case .failure:
if let image = options.onFailureImage {
self.base.setImage(image, for: state)
} else {
self.base.setImage(placeholder, for: state)
}
completionHandler?(result)
}
Expand Down
2 changes: 0 additions & 2 deletions Sources/Extensions/WKInterfaceImage+Kingfisher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@ extension KingfisherWrapper where Base: WKInterfaceImage {
case .failure:
if let image = options.onFailureImage {
self.base.setImage(image)
} else {
self.base.setImage(placeholder)
}
completionHandler?(result)
}
Expand Down

0 comments on commit c199298

Please sign in to comment.