From 4a2654dcc77cfa47514ec7b452d9e3b258ec5158 Mon Sep 17 00:00:00 2001 From: Kyle Hedden Date: Mon, 8 May 2023 20:05:05 -0400 Subject: [PATCH] Remove default buttonModel initializer. --- MVMCoreUI/Atomic/Actions/AlertModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVMCoreUI/Atomic/Actions/AlertModel.swift b/MVMCoreUI/Atomic/Actions/AlertModel.swift index 7eb88109..8a36ab03 100644 --- a/MVMCoreUI/Atomic/Actions/AlertModel.swift +++ b/MVMCoreUI/Atomic/Actions/AlertModel.swift @@ -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