From 101af943adf1d743f791f84a9b023cd37accaccb Mon Sep 17 00:00:00 2001 From: Dan Fordham Date: Mon, 28 Sep 2020 19:24:10 +0100 Subject: [PATCH] Assets collection requestImage options added. --- Sources/Scene/Assets/AssetsCollectionViewDataSource.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Scene/Assets/AssetsCollectionViewDataSource.swift b/Sources/Scene/Assets/AssetsCollectionViewDataSource.swift index 6ffbee38..509128f9 100755 --- a/Sources/Scene/Assets/AssetsCollectionViewDataSource.swift +++ b/Sources/Scene/Assets/AssetsCollectionViewDataSource.swift @@ -100,7 +100,7 @@ class AssetsCollectionViewDataSource : NSObject, UICollectionViewDataSource { } // Request image - cell.tag = Int(imageManager.requestImage(for: asset, targetSize: imageSize, contentMode: contentMode, options: nil) { (image, _) in + cell.tag = Int(imageManager.requestImage(for: asset, targetSize: imageSize, contentMode: contentMode, options: settings.fetch.preview.photoOptions) { (image, _) in guard let image = image else { return } cell.imageView.image = image })