Skip to content

Commit

Permalink
tweak padding
Browse files Browse the repository at this point in the history
  • Loading branch information
ejbills committed Jan 15, 2024
1 parent f769f73 commit b439b0e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -66,23 +66,21 @@ private struct ImageView: View {
LiveTextInteraction(image: image)
.scaledToFit()
.overlay(alignment: .bottomLeading) {
HStack {
ShareLink(item: image,
preview: SharePreview(
"",
image: image
),
label: {
Image(systemName: "square.and.arrow.up")
.resizable()
.aspectRatio(contentMode: .fit)
.foregroundColor(Color.artemisAccent)
.frame(width: 30, height: 30)
.padding()
}
)
.padding()
ShareLink(item: image,
preview: SharePreview(
"",
image: image
),
label: {
Image(systemName: "square.and.arrow.up")
.resizable()
.aspectRatio(contentMode: .fit)
.foregroundColor(Color.artemisAccent)
.frame(width: 30, height: 30)
.padding()
}
)
.padding()
}
},
placeholder: {
Expand Down

0 comments on commit b439b0e

Please sign in to comment.