Skip to content

Commit

Permalink
facebook#13671 Fixing an issue where if the images are coming from iC…
Browse files Browse the repository at this point in the history
…loud, no filename comes with them and the application crashes
  • Loading branch information
pentarex committed Jan 11, 2018
1 parent 4b4959a commit c257314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/CameraRoll/RCTCameraRollManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ static void RCTResolvePromise(RCTPromiseResolveBlock resolve,
@"group_name": [group valueForProperty:ALAssetsGroupPropertyName],
@"image": @{
@"uri": uri,
@"filename" : filename,
@"filename" : filename ? filename : @"",
@"height": @(dimensions.height),
@"width": @(dimensions.width),
@"isStored": @YES,
Expand Down

0 comments on commit c257314

Please sign in to comment.