Skip to content

Commit 517b3db

Browse files
committed
Fix build error on visionOS
1 parent f173235 commit 517b3db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/SwiftUIKit/Lists/ListAction.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,15 @@ private extension ListAction {
9191
private extension ListAction {
9292

9393
func copy(_ value: String) {
94-
#if os(macOS) || os(iOS) || os(visionOS)
94+
#if os(macOS) || os(iOS)
9595
Pasteboard.general.copy(value)
9696
#else
9797
print("Unsupported platform")
9898
#endif
9999
}
100100

101101
func copy(_ image: ImageRepresentable) {
102-
#if os(iOS) || os(visionOS)
102+
#if os(iOS)
103103
Pasteboard.general.image = image
104104
#elseif os(macOS)
105105
Pasteboard.general.clearContents()

0 commit comments

Comments
 (0)