From 1d4294803acbc614a6aa39c0c259330ef5a3b337 Mon Sep 17 00:00:00 2001 From: "Hedden, Kyle Matthew" Date: Thu, 8 Feb 2024 21:03:19 -0500 Subject: [PATCH] Remove the duplicate load gif. Rely on the defaultCompletionBlock. --- MVMCoreUI/Atomic/Atoms/Views/LoadImageView.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/MVMCoreUI/Atomic/Atoms/Views/LoadImageView.swift b/MVMCoreUI/Atomic/Atoms/Views/LoadImageView.swift index 315c739f..780f8829 100644 --- a/MVMCoreUI/Atomic/Atoms/Views/LoadImageView.swift +++ b/MVMCoreUI/Atomic/Atoms/Views/LoadImageView.swift @@ -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