mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Start Flutter update
This commit is contained in:
@ -94,7 +94,7 @@ Future<BytesFile> showPickFileDialog({
|
||||
assert(allowedMimeTypes != null);
|
||||
|
||||
// Get the list of allowed extension
|
||||
final allowedExtensions = List<String>();
|
||||
final allowedExtensions = <String>[];
|
||||
for (var mime in allowedExtensions) {
|
||||
final ext = extensionFromMime(mime);
|
||||
if (ext != mime) allowedExtensions.add(ext);
|
||||
|
Reference in New Issue
Block a user