diff --git a/Libraries/CameraRoll/CameraRoll.js b/Libraries/CameraRoll/CameraRoll.js index 1eee46a3e..c7e28d951 100644 --- a/Libraries/CameraRoll/CameraRoll.js +++ b/Libraries/CameraRoll/CameraRoll.js @@ -120,7 +120,7 @@ class CameraRoll { * Saves the image to the camera roll / gallery. * * The CameraRoll API is not yet implemented for Android. - * + * * @param {string} tag On Android, this is a local URI, such * as `"file:///sdcard/img.png"`. * diff --git a/Libraries/CameraRoll/ImagePickerIOS.js b/Libraries/CameraRoll/ImagePickerIOS.js index 9b2f75e5b..a67884dc8 100644 --- a/Libraries/CameraRoll/ImagePickerIOS.js +++ b/Libraries/CameraRoll/ImagePickerIOS.js @@ -24,7 +24,7 @@ var ImagePickerIOS = { config = { videoMode: false, ...config, - } + }; return RCTImagePicker.openCameraDialog(config, successCallback, cancelCallback); }, openSelectDialog: function(config: Object, successCallback: Function, cancelCallback: Function) { @@ -32,7 +32,7 @@ var ImagePickerIOS = { showImages: true, showVideos: false, ...config, - } + }; return RCTImagePicker.openSelectDialog(config, successCallback, cancelCallback); }, };