Fixes directory pick on Linux
This commit is contained in:
parent
f731f4ae26
commit
0609cae84a
|
@ -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.
|
||||
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue