@@ -105,12 +105,11 @@ extension WithViewStore: DynamicViewContent where State: Collection, Content: Dy
105105}
106106
107107#if compiler(>=5.3)
108-
109108 import SwiftUI
110109
111- /// A structure that transforms a store into an observable view store in order to compute scenes from
112- /// store state.
113- @available ( iOS 14 . 0 , macOS 11 . 0 , tvOS 14 . 0 , watchOS 7 . 0 , * )
110+ /// A structure that transforms a store into an observable view store in order to compute scenes
111+ /// from store state.
112+ @available ( iOS 14 , macOS 11 , tvOS 14 , watchOS 7 , * )
114113 extension WithViewStore : Scene where Content: Scene {
115114 public typealias Body = Content
116115
@@ -146,7 +145,7 @@ extension WithViewStore: DynamicViewContent where State: Collection, Content: Dy
146145 }
147146 }
148147
149- @available ( iOS 14 . 0 , macOS 11 . 0 , tvOS 14 . 0 , watchOS 7 . 0 , * )
148+ @available ( iOS 14 , macOS 11 , tvOS 14 , watchOS 7 , * )
150149 extension WithViewStore where Content: Scene , State: Equatable {
151150 /// Initializes a structure that transforms a store into an observable view store in order to
152151 /// compute views from equatable store state.
@@ -162,7 +161,7 @@ extension WithViewStore: DynamicViewContent where State: Collection, Content: Dy
162161 }
163162 }
164163
165- @available ( iOS 14 . 0 , macOS 11 . 0 , tvOS 14 . 0 , watchOS 7 . 0 , * )
164+ @available ( iOS 14 , macOS 11 , tvOS 14 , watchOS 7 , * )
166165 extension WithViewStore where Content: Scene , State == Void {
167166 /// Initializes a structure that transforms a store into an observable view store in order to
168167 /// compute views from equatable store state.
@@ -177,5 +176,4 @@ extension WithViewStore: DynamicViewContent where State: Collection, Content: Dy
177176 self . init ( store, removeDuplicates: == , content: content)
178177 }
179178 }
180-
181179#endif
0 commit comments