fix camera roll lint warnings
Summary: fix lint warnings under `Libraries/CameraRoll` directory Closes https://github.com/facebook/react-native/pull/4445 Reviewed By: svcscm Differential Revision: D2705430 Pulled By: nicklockwood fb-gh-sync-id: b5a179750a6696836cf458bc8e646e6b8a23fd98
This commit is contained in:
parent
0c8bafe84a
commit
9f92e91608
|
@ -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"`.
|
||||
*
|
||||
|
|
|
@ -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);
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue