Skip to content

Commit 30228c3

Browse files
committed
Fixed blur style for iOS17 preset.
1 parent 1a3805c commit 30228c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SPAlert.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = 'SPAlert'
4-
s.version = '5.1.2'
4+
s.version = '5.1.4'
55
s.summary = 'Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets. Support SwiftUI.'
66
s.homepage = 'https://github.com/sparrowcode/AlertKit'
77
s.source = { :git => 'https://github.com/sparrowcode/AlertKit.git', :tag => s.version }

Sources/AlertKit/Views/AlertAppleMusic17View.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class AlertAppleMusic17View: UIView, AlertViewProtocol {
3838
hostView.isUserInteractionEnabled = false
3939
return hostView
4040
#else
41-
let view = UIVisualEffectView(effect: UIBlurEffect())
41+
let view = UIVisualEffectView(effect: UIBlurEffect(style: .systemMaterial))
4242
view.isUserInteractionEnabled = false
4343
return view
4444
#endif

0 commit comments

Comments
 (0)