Skip to content

Commit

Permalink
Merge pull request #302 from danfordham/bug/assets-collection-request…
Browse files Browse the repository at this point in the history
…Image-options

Bug/assets collection request image options
  • Loading branch information
mikaoj authored Sep 29, 2020
2 parents 870433a + 101af94 commit ac1ad8a
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 ac1ad8a

Please sign in to comment.