Remove the duplicate load gif. Rely on the defaultCompletionBlock.

This commit is contained in:
Hedden, Kyle Matthew 2024-02-08 21:03:19 -05:00
parent f4cb350a95
commit 1d4294803a

View File

@ -327,9 +327,6 @@
let loadingImageName = self.currentImageName, loadingImageName == imageName else { return }
self.isFallbackImage = isFallbackImage
self.loadingSpinner.pause()
if let data = data {
self.imageView.loadGifWithData(data)
}
let layoutWillChange = self.shouldNotifyDelegateOnUpdate ? self.layoutWillChange(width: self.currentImageWidth, height: self.currentImageHeight, size: image?.size) : false
self.addConstraints(width: width, height: height, size: image?.size)
self.loadingSpinnerHeightConstraint?.constant = 0