Remove default buttonModel initializer.

This commit is contained in:
Kyle Hedden 2023-05-08 20:05:05 -04:00
parent 73d5018cc2
commit 4a2654dcc7

View File

@ -100,7 +100,7 @@ public struct AlertModel: Codable, Identifiable, AlertModelProtocol {
// MARK: - Init
//--------------------------------------------------
public init(title: String? = nil, message: String? = nil, buttonModels: [AlertButtonModel] = [], style: UIAlertController.Style = .alert, delegateObject: DelegateObject? = nil, id: String = UUID().uuidString) {
public init(title: String? = nil, message: String? = nil, buttonModels: [AlertButtonModel], style: UIAlertController.Style = .alert, delegateObject: DelegateObject? = nil, id: String = UUID().uuidString) {
self.title = title
self.message = message
self.buttonModels = buttonModels