1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 08:15:16 +00:00

Start Flutter update

This commit is contained in:
2021-03-13 15:14:54 +01:00
parent fb80f3bd52
commit 819e2a7590
24 changed files with 140 additions and 189 deletions

View File

@ -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);