Skip to content

Commit

Permalink
Merge branch 'hotfix/duplicate_fetch'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaoj committed Oct 5, 2015
2 parents 1ead40e + ec6e705 commit 03e0769
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion BSImagePicker.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "BSImagePicker"
s.version = "1.4.2"
s.version = "1.4.3"
s.summary = "BSImagePicker is a multiple image picker for iOS 8."
s.description = <<-DESC
A mix between the native iOS 8 gallery and facebooks image picker. Allows you to preview and select multiple images.
Expand Down
3 changes: 1 addition & 2 deletions Pod/Classes/Factory/AlbumCellFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ final class AlbumCellFactory : TableViewCellFactory {
]
fetchOptions.predicate = NSPredicate(format: "mediaType = %d", PHAssetMediaType.Image.rawValue)

PHAsset.fetchAssetsInAssetCollection(album, options: fetchOptions)
let result = PHAsset.fetchAssetsInAssetCollection(album, options: fetchOptions)
result.enumerateObjectsUsingBlock { (object, idx, stop) in
if let asset = object as? PHAsset {
Expand Down Expand Up @@ -84,4 +83,4 @@ final class AlbumCellFactory : TableViewCellFactory {

return cell
}
}
}

0 comments on commit 03e0769

Please sign in to comment.