diff --git a/imagepicker/src/main/kotlin/com/github/dhaval2404/imagepicker/util/FileUriUtils.kt b/imagepicker/src/main/kotlin/com/github/dhaval2404/imagepicker/util/FileUriUtils.kt index 8554f628..c30c1bda 100644 --- a/imagepicker/src/main/kotlin/com/github/dhaval2404/imagepicker/util/FileUriUtils.kt +++ b/imagepicker/src/main/kotlin/com/github/dhaval2404/imagepicker/util/FileUriUtils.kt @@ -109,7 +109,7 @@ object FileUriUtils { val fileName = getFilePath(context, uri) if (fileName != null) { val path = - Environment.getExternalStorageDirectory().toString() + "/Download/" + fileName + context.getExternalFilesDir("Download").toString() + "/" + fileName if (File(path).exists()) { return path }