Load images asyncronously from disk
Changelog-Fixed: Fix hitches caused by syncronous loading of cached images
This commit is contained in:
@@ -22,6 +22,7 @@ extension KFOptionSetter {
|
||||
maxSize: imageContext.maxMebibyteSize(),
|
||||
downsampleSize: imageContext.downsampleSize()
|
||||
)
|
||||
options.loadDiskFileSynchronously = false
|
||||
options.backgroundDecode = true
|
||||
options.cacheOriginalImage = true
|
||||
options.scaleFactor = UIScreen.main.scale
|
||||
|
||||
Reference in New Issue
Block a user