2525
2626import SwiftUI
2727
28- @available ( iOS 14 . 0 , macCatalyst 14 . 0 , * )
28+ @available ( iOS 14 . 0 , visionOS 1 . 0 , macCatalyst 14 . 0 , * )
2929public extension EnvironmentValues {
3030
3131 /// The additional activies to include the share sheet displayed inside a ``SafariView``
@@ -64,7 +64,6 @@ public extension EnvironmentValues {
6464
6565}
6666
67- @available ( iOS 14 . 0 , macCatalyst 14 . 0 , * )
6867extension EnvironmentValues {
6968
7069 var safariViewEntersReaderIfAvailable : Bool {
@@ -94,7 +93,6 @@ extension EnvironmentValues {
9493
9594}
9695
97- @available ( iOS 14 . 0 , macCatalyst 14 . 0 , * )
9896private struct SafariViewEntersReaderIfAvailableEnvironmentKey : EnvironmentKey {
9997
10098 // MARK: - EnvironmentKey
@@ -105,7 +103,6 @@ private struct SafariViewEntersReaderIfAvailableEnvironmentKey: EnvironmentKey {
105103
106104}
107105
108- @available ( iOS 14 . 0 , macCatalyst 14 . 0 , * )
109106private struct SafariViewBarCollapsingEnabledEnvironmentKey : EnvironmentKey {
110107
111108 // MARK: - EnvironmentKey
@@ -116,7 +113,6 @@ private struct SafariViewBarCollapsingEnabledEnvironmentKey: EnvironmentKey {
116113
117114}
118115
119- @available ( iOS 14 . 0 , macCatalyst 14 . 0 , * )
120116private struct SafariViewControlTintColorEnvironmentKey : EnvironmentKey {
121117
122118 // MARK: - EnvironmentKey
@@ -127,7 +123,6 @@ private struct SafariViewControlTintColorEnvironmentKey: EnvironmentKey {
127123
128124}
129125
130- @available ( iOS 14 . 0 , macCatalyst 14 . 0 , * )
131126private struct SafariViewBarTintColorEnvironmentKey : EnvironmentKey {
132127
133128 // MARK: - EnvironmentKey
@@ -138,7 +133,6 @@ private struct SafariViewBarTintColorEnvironmentKey: EnvironmentKey {
138133
139134}
140135
141- @available ( iOS 14 . 0 , macCatalyst 14 . 0 , * )
142136private struct SafariViewDismissButtonStyleEnvironmentKey : EnvironmentKey {
143137
144138 // MARK: - EnvironmentKey
@@ -149,7 +143,6 @@ private struct SafariViewDismissButtonStyleEnvironmentKey: EnvironmentKey {
149143
150144}
151145
152- @available ( iOS 14 . 0 , macCatalyst 14 . 0 , * )
153146private struct SafariViewIncludedActivitiesEnvironmentKey : EnvironmentKey {
154147
155148 // MARK: - EnvironmentKey
@@ -160,7 +153,6 @@ private struct SafariViewIncludedActivitiesEnvironmentKey: EnvironmentKey {
160153
161154}
162155
163- @available ( iOS 14 . 0 , macCatalyst 14 . 0 , * )
164156private struct SafariViewExcludedActivityTypesEnvironmentKey : EnvironmentKey {
165157
166158 // MARK: - EnvironmentKey
0 commit comments