Added with and height to getImagesForIds on ios
This commit is contained in:
parent
f2a2a0059c
commit
3ebd21f14d
|
@ -211,6 +211,8 @@ RCT_EXPORT_METHOD(getImagesForIds:(NSArray*)imagesIdArray
|
||||||
NSUInteger originalArrayIndex = [imagesIdArray indexOfObject:assetLocalId];
|
NSUInteger originalArrayIndex = [imagesIdArray indexOfObject:assetLocalId];
|
||||||
|
|
||||||
[assetsArray replaceObjectAtIndex:originalArrayIndex withObject:@{@"uri": assetInfoDict[@"uri"],
|
[assetsArray replaceObjectAtIndex:originalArrayIndex withObject:@{@"uri": assetInfoDict[@"uri"],
|
||||||
|
@"width": @(asset.pixelWidth),
|
||||||
|
@"height": @(asset.pixelHeight),
|
||||||
@"size": assetInfoDict[@"size"],
|
@"size": assetInfoDict[@"size"],
|
||||||
@"name": assetInfoDict[@"name"],
|
@"name": assetInfoDict[@"name"],
|
||||||
@"id": assetLocalId}];
|
@"id": assetLocalId}];
|
||||||
|
|
Loading…
Reference in New Issue