Skip to content

Commit 5043e1c

Browse files
committed
Fix watchOS build
1 parent add9042 commit 5043e1c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Sources/OversizeUI/Controls/Select/MultiSelect.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public struct MultiSelect<Element: Equatable, Content: View, Selection: View, Ac
155155
)
156156
.labelStyle(.toolbar)
157157
.buttonStyle(.toolbarSecondary)
158-
#if !os(tvOS)
158+
#if !os(tvOS) && !os(watchOS)
159159
.keyboardShortcut(.cancelAction)
160160
#endif
161161
}

Sources/OversizeUI/Controls/Select/MultiSelectPicker.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public struct MultiSelectPicker<Element: Equatable, Content: View, Actions: View
5959
)
6060
.labelStyle(.toolbar)
6161
.buttonStyle(.toolbarSecondary)
62-
#if !os(tvOS)
62+
#if !os(tvOS) && !os(watchOS)
6363
.keyboardShortcut(.cancelAction)
6464
#endif
6565
}

Sources/OversizeUI/Controls/Select/Select.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public struct Select<Element: Equatable, Content: View, Selection: View, Actions
130130
)
131131
.labelStyle(.toolbar)
132132
.buttonStyle(.toolbarSecondary)
133-
#if !os(tvOS)
133+
#if !os(tvOS) && !os(watchOS)
134134
.keyboardShortcut(.cancelAction)
135135
#endif
136136
}

Sources/OversizeUI/Controls/Select/SelectPicker.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public struct SelectPicker<Element: Hashable, Content: View, Actions: View, Cont
5959
)
6060
.labelStyle(.toolbar)
6161
.buttonStyle(.toolbarSecondary)
62-
#if !os(tvOS)
62+
#if !os(tvOS) && !os(watchOS)
6363
.keyboardShortcut(.cancelAction)
6464
#endif
6565
}

0 commit comments

Comments
 (0)