Fixes directory pick on Linux

This commit is contained in:
Miguel Ruivo 2020-09-28 13:45:17 +01:00
parent f731f4ae26
commit 0609cae84a
3 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
## 2.0.4
Desktop (Go): Fixes directory pick on Linux.
## 2.0.3
Android: Fixes out of memory issue on some devices when picking big files.

View File

@ -39,7 +39,7 @@ func fileDialog(title string, filter string) (string, error) {
}
func dirDialog(title string) (string, error) {
dirPath, _, err := dlgs.File(title, `*.*`, true)
dirPath, _, err := dlgs.File(title, "", true)
if err != nil {
return "", errors.Wrap(err, "failed to open dialog picker")
}

View File

@ -1,7 +1,7 @@
name: file_picker
description: A package that allows you to use a native file explorer to pick single or multiple absolute file paths, with extension filtering support.
homepage: https://github.com/miguelpruivo/plugins_flutter_file_picker
version: 2.0.3
version: 2.0.4
dependencies:
flutter: