mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-09-19 05:48:54 +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