diff --git a/ios/Nativebrik/Classes/component.swift b/ios/Nativebrik/Classes/component.swift index 6f0b3fb..da081d0 100644 --- a/ios/Nativebrik/Classes/component.swift +++ b/ios/Nativebrik/Classes/component.swift @@ -225,7 +225,7 @@ struct ComponentSwiftView: View { case .completed(let component): return AnyView(component) default: - if #available(iOS 14.0, *) { + if #available(iOS 14, *) { return AnyView(ProgressView()) } else { return AnyView(EmptyView())