Add option to disable image animation
Changelog-Added: Add option to disable image animation Closes: #707
This commit is contained in:
@@ -17,6 +17,7 @@ extension KFOptionSetter {
|
||||
options.backgroundDecode = true
|
||||
options.cacheOriginalImage = true
|
||||
options.scaleFactor = UIScreen.main.scale
|
||||
options.onlyLoadFirstFrame = should_disable_image_animation()
|
||||
|
||||
options.processor = CustomImageProcessor(
|
||||
maxSize: imageContext.maxMebibyteSize(),
|
||||
|
||||
Reference in New Issue
Block a user