We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f173235 commit 517b3dbCopy full SHA for 517b3db
Sources/SwiftUIKit/Lists/ListAction.swift
@@ -91,15 +91,15 @@ private extension ListAction {
91
private extension ListAction {
92
93
func copy(_ value: String) {
94
- #if os(macOS) || os(iOS) || os(visionOS)
+ #if os(macOS) || os(iOS)
95
Pasteboard.general.copy(value)
96
#else
97
print("Unsupported platform")
98
#endif
99
}
100
101
func copy(_ image: ImageRepresentable) {
102
- #if os(iOS) || os(visionOS)
+ #if os(iOS)
103
Pasteboard.general.image = image
104
#elseif os(macOS)
105
Pasteboard.general.clearContents()
0 commit comments