Skip to content

Commit

Permalink
Update android/src/main/java/com/mr/flutter/plugin/filepicker/FilePic…
Browse files Browse the repository at this point in the history
…kerPlugin.java
  • Loading branch information
navaronbracke authored Feb 11, 2025
1 parent d9416af commit afab058
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public void onMethodCall(final MethodCall call, final MethodChannel.Result rawRe
if (call.method != null && call.method.equals("custom") && (allowedExtensions == null || allowedExtensions.length == 0)) {
result.error(TAG, "Unsupported filter. Make sure that you are only using the extension without the dot, (ie., jpg instead of .jpg). This could also have happened because you are using an unsupported file extension. If the problem persists, you may want to consider using FileType.any instead.", null);
} else {
this.delegate.startFileExplorer(fileType, isMultipleSelection, withData, allowedExtensions, allowCompression, compressionQuality,result);
this.delegate.startFileExplorer(fileType, isMultipleSelection, withData, allowedExtensions, allowCompression, compressionQuality, result);
}

}
Expand Down

0 comments on commit afab058

Please sign in to comment.