chore: Follow up file selector

pull/1305/merge
Krille 5 months ago
parent fe06f2efb3
commit cc928c64bc
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -18,7 +18,9 @@ Future<List<XFile>> selectFiles(
compressionQuality: 0,
allowMultiple: allowMultiple,
type: type.filePickerType,
allowedExtensions: type.extensions?.toList(),
allowedExtensions: type.filePickerType == FileType.custom
? type.extensions?.toList()
: null,
),
);
return result?.xFiles ?? [];

Loading…
Cancel
Save