Android: Added resource transl to selectedImageIcon

This commit is contained in:
Amit Davidi 2017-02-27 19:25:40 +02:00
parent b9ab865cee
commit 807757d0f3
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,9 @@ export default class CameraKitGalleryView extends Component {
if (_.get(transformedProps, 'customButton.customImage')) {
_.update(transformedProps, 'customButton.customImage', (image) => resolveAssetSource(image).uri);
}
if (transformedProps.selectedImageIcon) {
transformedProps.selectedImageIcon = resolveAssetSource(transformedProps.selectedImageIcon).uri;
}
return <GalleryView {...transformedProps} onTapImage={this.onTapImage}/>
}