Skip to content

Commit

Permalink
Merge pull request #207 from sithwarrior/master
Browse files Browse the repository at this point in the history
Fixes crashes when localizedTitle is nil for album
  • Loading branch information
EddyVerbruggen authored Jul 28, 2020
2 parents e0bd861 + 9922016 commit 9e78427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/GMImagePicker/GMAlbumsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ -(void)updateFetchResults

PHFetchResult *assetsFetchResult = [PHAsset fetchAssetsInAssetCollection:assetCollection options:options];
[userFetchResultArray addObject:assetsFetchResult];
[userFetchResultLabel addObject:collection.localizedTitle];
[userFetchResultLabel addObject:collection.localizedTitle ?: @""];
}
}

Expand Down

0 comments on commit 9e78427

Please sign in to comment.