Skip to content
Snippets Groups Projects
Commit e510f0c0 authored by Aylin's avatar Aylin
Browse files

Small changes

parent 3e4cef9f
Branches
No related tags found
1 merge request!83Resolve "Integrate attachment functionality in new ComposeView"
......@@ -14,7 +14,9 @@ struct AddAttachmentsView: View {
@State private var imageAttachment: UIImage? {
didSet {
if let newImage = imageAttachment {
// TODO: Turn image into Attachment and append to model.attachments
// TODO: This is closure is never executed because
// imageAttachments is not set properly
print("user chose image")
}
}
}
......@@ -31,6 +33,8 @@ struct AddAttachmentsView: View {
attachFileButton
Spacer()
imageUploadButton
Spacer()
.frame(height: 3)
}
filePreviews
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment