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) } }