Remove default buttonModel initializer.
This commit is contained in:
parent
73d5018cc2
commit
4a2654dcc7
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user