Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
enzevalos_iphone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
enzevalos
enzevalos_iphone
Commits
e510f0c0
Commit
e510f0c0
authored
4 years ago
by
Aylin
Browse files
Options
Downloads
Patches
Plain Diff
Small changes
parent
3e4cef9f
Branches
Branches containing commit
No related tags found
1 merge request
!83
Resolve "Integrate attachment functionality in new ComposeView"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
enzevalos_iphone/SwiftUI/Compose/AddAttachmentsView.swift
+5
-1
5 additions, 1 deletion
enzevalos_iphone/SwiftUI/Compose/AddAttachmentsView.swift
with
5 additions
and
1 deletion
enzevalos_iphone/SwiftUI/Compose/AddAttachmentsView.swift
+
5
−
1
View file @
e510f0c0
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment