We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b1f2b3 commit 0efe9dcCopy full SHA for 0efe9dc
lib/screens/dashboard/components/add_files.dart
@@ -25,6 +25,7 @@ class AddFilesButton extends StatelessWidget {
25
'mpg2',
26
'vob',
27
'mkv',
28
+ 'mxf',
29
],
30
mimeTypes: ['video/*'],
31
),
lib/screens/dashboard/dashboard.dart
@@ -48,7 +48,7 @@ class _DashboardState extends State<Dashboard> {
48
final List<XFile> fileData = data.files;
49
List<XFile> validFiles = [];
50
RegExp validExtensions = RegExp(
51
- r'(\.dvr-ms|\.m2v|\.mpg|\.ts|\.wtv|\.mp4|\.mpg2|\.vob|\.mkv)$');
+ r'(\.dvr-ms|\.m2v|\.mpg|\.ts|\.wtv|\.mp4|\.mpg2|\.vob|\.mkv|\.mxf)$');
52
print(validExtensions.hasMatch(fileData[0].path));
53
for (XFile file in fileData) {
54
if (validExtensions.hasMatch(file.path)) {
0 commit comments