From bd4639afa5e555a118ea3b0f2c3a668be0058884 Mon Sep 17 00:00:00 2001 From: Keerthy Date: Thu, 23 Mar 2023 23:57:46 +0530 Subject: [PATCH 1/2] added missing children --- .../LeftVariable/ListLeftVariableCheckboxBodyTextModel.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/LeftVariable/ListLeftVariableCheckboxBodyTextModel.swift b/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/LeftVariable/ListLeftVariableCheckboxBodyTextModel.swift index 16d75035..a459d46c 100644 --- a/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/LeftVariable/ListLeftVariableCheckboxBodyTextModel.swift +++ b/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/LeftVariable/ListLeftVariableCheckboxBodyTextModel.swift @@ -16,6 +16,10 @@ open class ListLeftVariableCheckboxBodyTextModel: ListItemModel, MoleculeModelPr public var checkbox: CheckboxModel public var headlineBody: HeadlineBodyModel + public var children: [MoleculeModelProtocol] { + [checkbox, headlineBody] + } + //-------------------------------------------------- // MARK: - Initializer //-------------------------------------------------- From fcd2b2041eb42da27e0bc248a0bbf9b7b146215b Mon Sep 17 00:00:00 2001 From: Krishna Kishore Bandaru Date: Fri, 24 Mar 2023 11:57:57 +0530 Subject: [PATCH 2/2] added ParentMoleculeModelProtocol --- .../LeftVariable/ListLeftVariableCheckboxBodyTextModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/LeftVariable/ListLeftVariableCheckboxBodyTextModel.swift b/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/LeftVariable/ListLeftVariableCheckboxBodyTextModel.swift index a459d46c..3ed92e02 100644 --- a/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/LeftVariable/ListLeftVariableCheckboxBodyTextModel.swift +++ b/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/LeftVariable/ListLeftVariableCheckboxBodyTextModel.swift @@ -7,7 +7,7 @@ // -open class ListLeftVariableCheckboxBodyTextModel: ListItemModel, MoleculeModelProtocol { +open class ListLeftVariableCheckboxBodyTextModel: ListItemModel, MoleculeModelProtocol, ParentMoleculeModelProtocol { //-------------------------------------------------- // MARK: - Properties //--------------------------------------------------