Bumps to 4.0.2

master
Miguel Ruivo 1 year ago
parent 0c039dd324
commit 58625339b8
  1. 4
      CHANGELOG.md
  2. 2
      lib/src/windows/file_picker_windows.dart
  3. 2
      pubspec.yaml

@ -1,3 +1,7 @@
## 4.0.2
##### Desktop (Windows)
Fixes custom extension filter. Thank you @jgoyvaerts.
## 4.0.1
##### General
Overrides equality and toString for `platform_file` and `file_picker_result` for better comparison different results. Thank you @Nolence.

@ -72,7 +72,7 @@ class FilePickerWindows extends FilePicker {
case FileType.audio:
return 'Audios (*.mp3)\x00*.mp3\x00All Files (*.*)\x00*.*\x00\x00';
case FileType.custom:
return 'Files (*.${allowedExtensions!.join(',*.')})\x00*.${allowedExtensions!.join(';*.')}\x00\x00';
return 'Files (*.${allowedExtensions!.join(',*.')})\x00*.${allowedExtensions.join(';*.')}\x00\x00';
case FileType.image:
return 'Images (*.jpeg,*.png,*.gif)\x00*.jpg;*.jpeg;*.png;*.gif\x00All Files (*.*)\x00*.*\x00\x00';
case FileType.media:

@ -3,7 +3,7 @@ description: A package that allows you to use a native file explorer to pick sin
homepage: https://github.com/miguelpruivo/plugins_flutter_file_picker
repository: https://github.com/miguelpruivo/flutter_file_picker
issue_tracker: https://github.com/miguelpruivo/flutter_file_picker/issues
version: 4.0.1
version: 4.0.2
dependencies:
flutter:

Loading…
Cancel
Save