Skip to content

Commit

Permalink
Assets collection requestImage options added.
Browse files Browse the repository at this point in the history
  • Loading branch information
danfordham committed Sep 28, 2020
1 parent d791054 commit 101af94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Scene/Assets/AssetsCollectionViewDataSource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down

0 comments on commit 101af94

Please sign in to comment.