Skip to content

Commit 17ed646

Browse files
committed
Merge remote-tracking branch 'origin/feature/fix_select_files_mymetype' into feature/fix_select_files_mymetype
2 parents 2db7d1e + e5c2227 commit 17ed646

File tree

1 file changed

+2
-2
lines changed
  • android/src/main/kotlin/com/mr/flutter/plugin/filepicker

1 file changed

+2
-2
lines changed

android/src/main/kotlin/com/mr/flutter/plugin/filepicker/FileUtils.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ object FileUtils {
164164
type = this@startFileExplorer.type
165165
if (!allowedExtensions.isNullOrEmpty()) {
166166
putExtra(Intent.EXTRA_MIME_TYPES, allowedExtensions!!.toTypedArray())
167-
}else{
168-
putExtra(Intent.EXTRA_MIME_TYPES, this@startFileExplorer.type)
167+
} else {
168+
putExtra(Intent.EXTRA_MIME_TYPES, type)
169169
}
170170
putExtra(Intent.EXTRA_ALLOW_MULTIPLE, isMultipleSelection)
171171
putExtra("multi-pick", isMultipleSelection)

0 commit comments

Comments
 (0)