cleaning
This commit is contained in:
parent
bef105decd
commit
74ab14f5f9
@ -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.
|
||||
guard let currentWidth = self.width else {
|
||||
return true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user