TF-3450 Add image attachment preview
This commit is contained in:
@@ -40,4 +40,6 @@ extension AttachmentExtension on Attachment {
|
||||
DownloadTaskId get downloadTaskId => DownloadTaskId(blobId!.value);
|
||||
|
||||
bool get isHTMLFile => type?.isHTMLFile(fileName: name) ?? false;
|
||||
|
||||
bool get isImage => type?.isImageFile() ?? false;
|
||||
}
|
||||
Reference in New Issue
Block a user