Browse Source

Add Context Menu to copy button

post-button-style
Sam DuBois 2 years ago
parent
commit
d7aaca25ee
  1. 5
      damus/Components/ImageCarousel.swift

5
damus/Components/ImageCarousel.swift

@ -136,6 +136,11 @@ struct ImageCarousel: View {
Text(url.absoluteString)
}
.id(url.absoluteString)
.contextMenu {
Button("Copy Image") {
UIPasteboard.general.string = url.absoluteString
}
}
}
}
}

Loading…
Cancel
Save