diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 9e1d64a..cf86fa5 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - WPMediaPicker (1.7.1-beta.1) + - WPMediaPicker (1.7.2) DEPENDENCIES: - WPMediaPicker (from `../`) @@ -9,8 +9,8 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - WPMediaPicker: 1b770d4d4f14fbfb7c421c53c761a521fc23bf12 + WPMediaPicker: d5ae9a83cd5cc0e4de46bfc1c59120aa86658bc3 PODFILE CHECKSUM: 6b0e391139d3864c72fde997a1418dbfe9bf5126 -COCOAPODS: 1.8.4 +COCOAPODS: 1.9.3 diff --git a/Pod/Classes/WPPHAssetDataSource.m b/Pod/Classes/WPPHAssetDataSource.m index c3c1f98..7229001 100644 --- a/Pod/Classes/WPPHAssetDataSource.m +++ b/Pod/Classes/WPPHAssetDataSource.m @@ -229,7 +229,7 @@ - (void)loadGroupsWithSuccess:(WPMediaSuccessBlock)successBlock dispatchQueue: self.imageGenerationQueue]]; } self.cachedCollections = newCachedAssetCollection; - if (self.assetsCollections.count > 0){ + if (self.assetsCollections != nil){ if (!self.activeAssetsCollection || [self.assetsCollections indexOfObject:self.activeAssetsCollection] == NSNotFound) { self.activeAssetsCollection = [self.assetsCollections firstObject]; } diff --git a/WPMediaPicker.podspec b/WPMediaPicker.podspec index 89d24d1..ea8b539 100644 --- a/WPMediaPicker.podspec +++ b/WPMediaPicker.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "WPMediaPicker" - s.version = "1.7.1" + s.version = "1.7.2" s.summary = "WPMediaPicker is an iOS controller that allows capture and picking of media assets." s.description = <<-DESC WPMediaPicker is an iOS controller that allows capture and picking of media assets.