We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2db7d1e + e5c2227 commit 17ed646Copy full SHA for 17ed646
android/src/main/kotlin/com/mr/flutter/plugin/filepicker/FileUtils.kt
@@ -164,8 +164,8 @@ object FileUtils {
164
type = this@startFileExplorer.type
165
if (!allowedExtensions.isNullOrEmpty()) {
166
putExtra(Intent.EXTRA_MIME_TYPES, allowedExtensions!!.toTypedArray())
167
- }else{
168
- putExtra(Intent.EXTRA_MIME_TYPES, this@startFileExplorer.type)
+ } else {
+ putExtra(Intent.EXTRA_MIME_TYPES, type)
169
}
170
putExtra(Intent.EXTRA_ALLOW_MULTIPLE, isMultipleSelection)
171
putExtra("multi-pick", isMultipleSelection)
0 commit comments