Skip to content

Commit

Permalink
Workaround for the build break on visionOS (#2746)
Browse files Browse the repository at this point in the history
This is likely not the proper solution, but it does get my projects building.
  • Loading branch information
peterbohac authored Jan 30, 2024
1 parent 776bc5c commit 94faadf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
@available(macOS, introduced: 10.15, obsoleted: 14)
@available(tvOS, introduced: 13, obsoleted: 17)
@available(watchOS, introduced: 6, obsoleted: 10)
@available(visionOS, unavailable)
extension Perception.Bindable {
@_disfavoredOverload
public subscript<State: ObservableState, Action, Member>(
Expand Down Expand Up @@ -188,6 +189,7 @@
@available(macOS, introduced: 10.15, obsoleted: 14)
@available(tvOS, introduced: 13, obsoleted: 17)
@available(watchOS, introduced: 6, obsoleted: 10)
@available(visionOS, unavailable)
@dynamicMemberLookup
public struct _StoreBindable_Perception<State: ObservableState, Action, Value> {
fileprivate let bindable: Perception.Bindable<Store<State, Action>>
Expand Down

0 comments on commit 94faadf

Please sign in to comment.