From 934b61aca2b0802ff2e3822900fbcf5bfc79cb0e Mon Sep 17 00:00:00 2001 From: Dhaval Patel Date: Fri, 17 Jul 2020 23:20:53 +0530 Subject: [PATCH] Made getImageExtension public Made getImageExtension method as a public --- .../com/github/dhaval2404/imagepicker/util/FileUriUtils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 66283f67..8b81ab1e 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 @@ -182,7 +182,7 @@ object FileUriUtils { /** @return extension of image with dot, or default .jpg if it none. */ - private fun getImageExtension(uriImage: Uri): String { + fun getImageExtension(uriImage: Uri): String { var extension: String? = null try {