Skip to content

Commit

Permalink
Android - syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
budowski committed Oct 8, 2023
1 parent 2e639fa commit 9397891
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public void launchImageLibrary(final ReadableMap options, final Callback callbac
Intent pickIntent = new Intent(Intent.ACTION_PICK);

if (!isSingleSelect) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU || forceOldAndroidPhotoPicker) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.TIRAMISU || this.options.forceOldAndroidPhotoPicker) {
libraryIntent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true);
pickIntent.putExtra(Intent.EXTRA_ALLOW_MULTIPLE, true);
} else {
Expand Down

0 comments on commit 9397891

Please sign in to comment.