Skip to content

Commit

Permalink
Update VisualEffectView.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
efremidze committed Jul 25, 2023
1 parent 2e17769 commit 72974f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/VisualEffectView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ private extension VisualEffectView {
/// Sets the value for the key on the blurEffect.
func _setValue<T>(_ value: T?, forKey key: Key) {
blurEffect.setValue(value, forKeyPath: key.rawValue)
if #available(iOS 14, *) {} else {
if #unavailable(iOS 14) {
self.effect = blurEffect
}
}
Expand Down

0 comments on commit 72974f7

Please sign in to comment.