Skip to content

Commit e5711bc

Browse files
committed
fix: 删除多余的filePath
1 parent 33ae00b commit e5711bc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

android/src/main/java/com/syanpicker/RNSyanImagePickerModule.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,7 @@ private void onGetVideoResult(Intent data) {
357357
WritableMap videoMap = new WritableNativeMap();
358358

359359
Boolean isAndroidQ = SdkVersionUtils.checkedAndroid_Q();
360-
String filePath = isAndroidQ ? media.getAndroidQToPath() : media.getPath();
361360
Boolean isAndroidR = SdkVersionUtils.checkedAndroid_R();
362-
363361
String filePath = media.getPath();
364362
if (isAndroidQ){
365363
filePath = media.getAndroidQToPath();

0 commit comments

Comments
 (0)