Fix the defaultLoopCount function during refactory
This commit is contained in:
parent
786d5f8173
commit
a657d970e4
|
@ -101,7 +101,7 @@
|
|||
#pragma mark - Utils
|
||||
|
||||
+ (NSUInteger)imageLoopCountWithSource:(CGImageSourceRef)source {
|
||||
NSUInteger loopCount = 1;
|
||||
NSUInteger loopCount = self.defaultLoopCount;
|
||||
NSDictionary *imageProperties = (__bridge_transfer NSDictionary *)CGImageSourceCopyProperties(source, nil);
|
||||
NSDictionary *containerProperties = imageProperties[self.dictionaryProperty];
|
||||
if (containerProperties) {
|
||||
|
|
Loading…
Reference in New Issue