TF-3267 Implement HTML attachment preview

This commit is contained in:
DatDang
2024-12-06 10:07:53 +07:00
committed by Dat H. Pham
parent 3ddb81a8c4
commit ac91cae0db
22 changed files with 558 additions and 18 deletions
@@ -38,4 +38,6 @@ extension AttachmentExtension on Attachment {
}
DownloadTaskId get downloadTaskId => DownloadTaskId(blobId!.value);
bool get isHTMLFile => type?.isPDFFile(fileName: name) ?? false;
}