We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af89983 commit 2f7fc24Copy full SHA for 2f7fc24
1 file changed
BlurUIKit/SwiftUI/VariableBlur.swift
@@ -110,7 +110,7 @@ public struct VariableBlur: UIViewRepresentable {
110
/// - Returns: A modified `VariableBlur` with the updated dimming color.
111
public func dimmingTintColor(_ color: Color?) -> VariableBlur {
112
var copy = self
113
- copy.dimmingTintColor = UIColor(color)
+ copy.dimmingTintColor = color.map { UIColor($0) }
114
return copy
115
}
116
0 commit comments