We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d7db284 + 239b6ea commit af89983Copy full SHA for af89983
1 file changed
BlurUIKit/SwiftUI/VariableBlur.swift
@@ -108,9 +108,9 @@ public struct VariableBlur: UIViewRepresentable {
108
/// so its tint can adapt to trait changes. Pass `nil` to remove the dimming gradient
109
/// entirely. Defaults to `.systemBackground`.
110
/// - Returns: A modified `VariableBlur` with the updated dimming color.
111
- public func dimmingTintColor(_ color: UIColor?) -> VariableBlur {
+ public func dimmingTintColor(_ color: Color?) -> VariableBlur {
112
var copy = self
113
- copy.dimmingTintColor = color
+ copy.dimmingTintColor = UIColor(color)
114
return copy
115
}
116
0 commit comments