@@ -186,7 +186,7 @@ public struct AlertState<Action> {
186
186
case cancel
187
187
case destructive
188
188
189
- #if compiler(>=5.5) && canImport(_Concurrency)
189
+ #if compiler(>=5.5)
190
190
@available ( iOS 15 , macOS 12 , tvOS 15 , watchOS 8 , * )
191
191
var toSwiftUI : SwiftUI . ButtonRole {
192
192
switch self {
@@ -214,7 +214,7 @@ extension View {
214
214
dismiss: Action
215
215
) -> some View {
216
216
WithViewStore ( store, removeDuplicates: { $0? . id == $1? . id } ) { viewStore in
217
- #if compiler(>=5.5) && canImport(_Concurrency)
217
+ #if compiler(>=5.5)
218
218
if #available( iOS 15 , macOS 12 , tvOS 15 , watchOS 8 , * ) {
219
219
self . alert (
220
220
( viewStore. state? . title) . map { Text ( $0) } ?? Text ( " " ) ,
@@ -356,7 +356,7 @@ extension AlertState.Button {
356
356
}
357
357
}
358
358
359
- #if compiler(>=5.5) && canImport(_Concurrency)
359
+ #if compiler(>=5.5)
360
360
@available ( iOS 15 , macOS 12 , tvOS 15 , watchOS 8 , * )
361
361
func toSwiftUIButton( send: @escaping ( Action ) -> Void ) -> some View {
362
362
SwiftUI . Button (
@@ -370,7 +370,7 @@ extension AlertState.Button {
370
370
}
371
371
372
372
extension AlertState {
373
- #if compiler(>=5.5) && canImport(_Concurrency)
373
+ #if compiler(>=5.5)
374
374
@available ( iOS 15 , macOS 12 , tvOS 15 , watchOS 8 , * )
375
375
@ViewBuilder
376
376
fileprivate func toSwiftUIActions( send: @escaping ( Action ) -> Void ) -> some View {
0 commit comments