From c1e66eebdd76bd6b849e1be1fdd33998a7abe5f6 Mon Sep 17 00:00:00 2001 From: Valentin Perignon Date: Fri, 13 Dec 2024 07:10:26 +0100 Subject: [PATCH] fix: Need to pass MailboxManager environment --- Mail/Views/New Message/Attachments/AttachmentUploadCell.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Mail/Views/New Message/Attachments/AttachmentUploadCell.swift b/Mail/Views/New Message/Attachments/AttachmentUploadCell.swift index 1be3d1579..c1316eb5e 100644 --- a/Mail/Views/New Message/Attachments/AttachmentUploadCell.swift +++ b/Mail/Views/New Message/Attachments/AttachmentUploadCell.swift @@ -68,6 +68,7 @@ struct AttachmentUploadCell: View { } .sheet(item: $previewedAttachment) { previewedAttachment in AttachmentPreview(attachment: previewedAttachment) + .environmentObject(mailboxManager) } }