Skip to content

Commit 2deb42a

Browse files
fix(AttachmentUploadCell): Need to pass MailboxManager environment (#1627)
2 parents 778e6e9 + c1e66ee commit 2deb42a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Mail/Views/New Message/Attachments/AttachmentUploadCell.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ struct AttachmentUploadCell: View {
6868
}
6969
.sheet(item: $previewedAttachment) { previewedAttachment in
7070
AttachmentPreview(attachment: previewedAttachment)
71+
.environmentObject(mailboxManager)
7172
}
7273
}
7374

0 commit comments

Comments
 (0)