typo (data -> intent)
Summary: Closes https://github.com/facebook/react-native/pull/11856 Differential Revision: D4409174 Pulled By: foghina fbshipit-source-id: 9b3f75d5f0515294e3b48dc3d9284b0cf684d152
This commit is contained in:
parent
4c08105e14
commit
d0116d52bd
|
@ -361,7 +361,7 @@ public class ImagePickerModule extends ReactContextBaseJavaModule {
|
|||
private final ActivityEventListener mActivityEventListener = new BaseActivityEventListener() {
|
||||
|
||||
@Override
|
||||
public void onActivityResult(Activity activity, int requestCode, int resultCode, Intent data) {
|
||||
public void onActivityResult(Activity activity, int requestCode, int resultCode, Intent intent) {
|
||||
if (requestCode == IMAGE_PICKER_REQUEST) {
|
||||
if (mPickerPromise != null) {
|
||||
if (resultCode == Activity.RESULT_CANCELED) {
|
||||
|
|
Loading…
Reference in New Issue