diff --git a/Sources/AlertKit/Views/AlertAppleMusic16View.swift b/Sources/AlertKit/Views/AlertAppleMusic16View.swift index d447d8b..b58062e 100644 --- a/Sources/AlertKit/Views/AlertAppleMusic16View.swift +++ b/Sources/AlertKit/Views/AlertAppleMusic16View.swift @@ -41,7 +41,7 @@ public class AlertAppleMusic16View: UIView, AlertViewProtocol { return view }() - public init(title: String?, subtitle: String?, icon: AlertIcon?) { + public init(title: String? = nil, subtitle: String? = nil, icon: AlertIcon? = nil) { if let title = title { let label = UILabel() diff --git a/Sources/AlertKit/Views/AlertAppleMusic17View.swift b/Sources/AlertKit/Views/AlertAppleMusic17View.swift index f965198..6215da7 100644 --- a/Sources/AlertKit/Views/AlertAppleMusic17View.swift +++ b/Sources/AlertKit/Views/AlertAppleMusic17View.swift @@ -44,7 +44,7 @@ public class AlertAppleMusic17View: UIView, AlertViewProtocol, AlertViewInternal #endif }() - public init(title: String?, subtitle: String?, icon: AlertIcon?) { + public init(title: String? = nil, subtitle: String? = nil, icon: AlertIcon? = nil) { if let title = title { let label = UILabel()