mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 04:35:36 +08:00
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:
committed by
facebook-github-bot-7
parent
0c8bafe84a
commit
9f92e91608
@@ -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);
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user