TF-725 Implement UI/UX for insert image to composer on web
This commit is contained in:
@@ -15,6 +15,8 @@ class FileInfo with EquatableMixin {
|
||||
return FileInfo('', '', 0);
|
||||
}
|
||||
|
||||
String get fileExtension => fileName.split('.').last;
|
||||
|
||||
String get mimeType => lookupMimeType(kIsWeb ? fileName : filePath) ?? 'application/json; charset=UTF-8';
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user