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