Skip to content

Commit

Permalink
fix(android): actions being saved when open launchImageLibrary (#1928)
Browse files Browse the repository at this point in the history
  • Loading branch information
arisyo13 committed Jan 28, 2022
1 parent 573a614 commit bcae866
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public void launchImageLibrary(final ReadableMap options, final Callback callbac
}

try {
currentActivity.startActivityForResult(Intent.createChooser(libraryIntent, null), requestCode);
currentActivity.startActivityForResult(libraryIntent, requestCode);
} catch (ActivityNotFoundException e) {
callback.invoke(getErrorMap(errOthers, e.getMessage()));
this.callback = null;
Expand Down

0 comments on commit bcae866

Please sign in to comment.