From 939789106e5f03f558f831a2b33457b0e482880c Mon Sep 17 00:00:00 2001 From: Yaron Budowski Date: Sun, 8 Oct 2023 10:03:37 +0200 Subject: [PATCH] Android - syntax fix --- .../src/main/java/com/imagepicker/ImagePickerModuleImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/com/imagepicker/ImagePickerModuleImpl.java b/android/src/main/java/com/imagepicker/ImagePickerModuleImpl.java index 9debf99ab..5492a1922 100644 --- a/android/src/main/java/com/imagepicker/ImagePickerModuleImpl.java +++ b/android/src/main/java/com/imagepicker/ImagePickerModuleImpl.java @@ -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 {