-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels