Skip to content

Commit

Permalink
FileType.video should include m4v files
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-archer committed Jul 24, 2024
1 parent 5ee4805 commit 273d67d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/file_picker_macos.dart
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class FilePickerMacOS extends FilePicker {
case FileType.media:
return '"avi", "flv", "m4v", "mkv", "mov", "mp4", "mpeg", "webm", "wmv", "bmp", "gif", "jpeg", "jpg", "png"';
case FileType.video:
return '"avi", "flv", "mkv", "mov", "mp4", "mpeg", "webm", "wmv"';
return '"avi", "flv", "mkv", "mov", "mp4", "m4v", "mpeg", "webm", "wmv"';
default:
throw Exception('unknown file type');
}
Expand Down

0 comments on commit 273d67d

Please sign in to comment.