From ac17015a09bb3dc8a0726546d69535d0a52e5772 Mon Sep 17 00:00:00 2001 From: "Suresh, Kamlesh" Date: Thu, 23 Jan 2020 11:10:28 -0500 Subject: [PATCH] container model --- MVMCoreUI/Molecules/Items/DropDownListItemModel.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MVMCoreUI/Molecules/Items/DropDownListItemModel.swift b/MVMCoreUI/Molecules/Items/DropDownListItemModel.swift index c7b9ca75..7fb8e59e 100644 --- a/MVMCoreUI/Molecules/Items/DropDownListItemModel.swift +++ b/MVMCoreUI/Molecules/Items/DropDownListItemModel.swift @@ -8,7 +8,7 @@ import Foundation -@objcMembers public class DropDownListItemModel: MoleculeContainerModel, ListItemModelProtocol { +@objcMembers public class DropDownListItemModel: ContainerModel, ListItemModelProtocol { public static var identifier: String = "dropDownListItem" public var molecules: [[ListItemModelProtocol]] public var dropDown: DropDownModel @@ -16,10 +16,10 @@ import Foundation public var line: LineModel? = LineModel(type: .none) public var hideArrow: Bool? = true - public init(molecule: MoleculeModelProtocol, molecules: [[ListItemModelProtocol]], dropDown: DropDownModel) { + public init(molecules: [[ListItemModelProtocol]], dropDown: DropDownModel) { self.molecules = molecules self.dropDown = dropDown - super.init(with: molecule) + super.init() } private enum CodingKeys: String, CodingKey {