This commit is contained in:
Pfeil, Scott Robert 2019-03-19 13:52:30 -04:00
parent bef105decd
commit 74ab14f5f9

View File

@ -156,7 +156,7 @@ import UIKit
})} })}
} }
@objc public func shouldLoadImageWithName(_ imageName: String?, width: CGFloat) -> Bool { @objc public func shouldLoadImage(withName imageName: String?, width: CGFloat) -> Bool {
// We should load a new image if there is no current image, the image names are different, the width is different, or we are using a fallback image. // We should load a new image if there is no current image, the image names are different, the width is different, or we are using a fallback image.
guard let currentWidth = self.width else { guard let currentWidth = self.width else {
return true return true