TF-2182 Fix no blue bar for calendar events

(cherry picked from commit 7ea91d59e860dbd8f5bd38cefd76ca61bc4cc4e3)
This commit is contained in:
dab246
2023-10-04 16:18:32 +07:00
committed by Dat H. Pham
parent c3c8eacb9f
commit b4ce4651c0
17 changed files with 46 additions and 44 deletions
@@ -13,15 +13,9 @@ extension ListAttachmentExtension on List<Attachment> {
return 0;
}
List<Attachment> get listAttachmentsDisplayedOutSide {
return where((attachment) => attachment.disposition == ContentDisposition.attachment || attachment.noCid())
.toList();
}
List<Attachment> get listAttachmentsDisplayedOutSide => where((attachment) => attachment.noCid()).toList();
List<Attachment> get listAttachmentsDisplayedInContent {
return where((attachment) => attachment.hasCid())
.toList();
}
List<Attachment> get listAttachmentsDisplayedInContent => where((attachment) => attachment.hasCid()).toList();
Map<String, String> toMapCidImageDownloadUrl({
required AccountId accountId,