From 30228c31758799cb5f59da3c45e090e78e7282ca Mon Sep 17 00:00:00 2001 From: Ivan Vorobei Date: Tue, 17 Oct 2023 16:07:51 +0300 Subject: [PATCH] Fixed blur style for iOS17 preset. --- SPAlert.podspec | 2 +- Sources/AlertKit/Views/AlertAppleMusic17View.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SPAlert.podspec b/SPAlert.podspec index 26098b3..be5fc5d 100644 --- a/SPAlert.podspec +++ b/SPAlert.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'SPAlert' - s.version = '5.1.2' + s.version = '5.1.4' s.summary = 'Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets. Support SwiftUI.' s.homepage = 'https://github.com/sparrowcode/AlertKit' s.source = { :git => 'https://github.com/sparrowcode/AlertKit.git', :tag => s.version } diff --git a/Sources/AlertKit/Views/AlertAppleMusic17View.swift b/Sources/AlertKit/Views/AlertAppleMusic17View.swift index 94e3dd8..e6f10a3 100644 --- a/Sources/AlertKit/Views/AlertAppleMusic17View.swift +++ b/Sources/AlertKit/Views/AlertAppleMusic17View.swift @@ -38,7 +38,7 @@ public class AlertAppleMusic17View: UIView, AlertViewProtocol { hostView.isUserInteractionEnabled = false return hostView #else - let view = UIVisualEffectView(effect: UIBlurEffect()) + let view = UIVisualEffectView(effect: UIBlurEffect(style: .systemMaterial)) view.isUserInteractionEnabled = false return view #endif