We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4530406 commit 2ed7283Copy full SHA for 2ed7283
NotificationBanner/Classes/FloatingNotificationBanner.swift
@@ -133,7 +133,9 @@ private extension FloatingNotificationBanner {
133
cornerRadius: CGFloat = 0,
134
offset: UIOffset = .zero,
135
edgeInsets: UIEdgeInsets? = nil) {
136
- guard blurRadius > 0 else { return }
+
137
+ guard blurRadius >= 0 else { return }
138
139
contentView.layer.shadowColor = color.cgColor
140
contentView.layer.shadowOpacity = Float(opacity)
141
contentView.layer.shadowRadius = blurRadius
0 commit comments