Add Context Menu to copy button
This commit is contained in:
1 parent
702c35382c
commit
d7aaca25ee
1 file changed
+5
@@ -136,6 +136,11 @@ struct ImageCarousel: View {
|
||||
Text(url.absoluteString)
|
||||
}
|
||||
.id(url.absoluteString)
|
||||
.contextMenu {
|
||||
Button("Copy Image") {
|
||||
UIPasteboard.general.string = url.absoluteString
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user