diff --git a/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/LeftVariable/ListLeftVariableIconWithRightCaretModel.swift b/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/LeftVariable/ListLeftVariableIconWithRightCaretModel.swift index 5e204eda..186ad988 100644 --- a/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/LeftVariable/ListLeftVariableIconWithRightCaretModel.swift +++ b/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/LeftVariable/ListLeftVariableIconWithRightCaretModel.swift @@ -61,9 +61,9 @@ public class ListLeftVariableIconWithRightCaretModel: ListItemModel, ParentMolec required public init(from decoder: Decoder) throws { let typeContainer = try decoder.container(keyedBy: CodingKeys.self) - leftLabel = try typeContainer.decodeMoleculeIfPresent(codingKey: .leftLabel)! - rightLabel = try typeContainer.decodeMoleculeIfPresent(codingKey: .rightLabel)! - image = try typeContainer.decodeMoleculeIfPresent(codingKey: .image)! + leftLabel = try typeContainer.decodeMolecule(codingKey: .leftLabel) + rightLabel = try typeContainer.decodeMolecule(codingKey: .rightLabel) + image = try typeContainer.decodeMolecule(codingKey: .image) try super.init(from: decoder) }