Vortex
Vortex copied to clipboard
Main Branch does not build (iOS 17+ required)
Since merging this pull request (#36), the main branch throws errors in Confetti.swift, mainly:
let resolvedColors = colors.map { color in
let components = color.resolve(in: environment)
return Color(
red: Double(components.red),
green: Double(components.green),
blue: Double(components.blue),
opacity: Double(components.opacity)
)
}
'resolve(in:)' is only available in iOS 17.0 or newer 'red' is only available in iOS 17.0 or newer 'green' is only available in iOS 17.0 or newer 'blue' is only available in iOS 17.0 or newer
Adding @available(iOS 17.0, *) to that function should be enough as the whole package should likely still support iOS 15 as before.