From da31c93b5e1fd3c9aafe7e0670ce3bc9780f26ae Mon Sep 17 00:00:00 2001 From: "Rajendran, Nandhini" Date: Mon, 3 Jan 2022 15:06:25 +0000 Subject: [PATCH] Fix for enabledColor in CaretLinkModel --- MVMCoreUI/Atomic/Atoms/Buttons/CaretLinkModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVMCoreUI/Atomic/Atoms/Buttons/CaretLinkModel.swift b/MVMCoreUI/Atomic/Atoms/Buttons/CaretLinkModel.swift index 25d0a539..71431d0f 100644 --- a/MVMCoreUI/Atomic/Atoms/Buttons/CaretLinkModel.swift +++ b/MVMCoreUI/Atomic/Atoms/Buttons/CaretLinkModel.swift @@ -99,7 +99,7 @@ public class CaretLinkModel: ButtonModelProtocol, MoleculeModelProtocol, Enablea try container.encodeIfPresent(backgroundColor, forKey: .backgroundColor) try container.encodeIfPresent(accessibilityIdentifier, forKey: .accessibilityIdentifier) try container.encodeModel(action, forKey: .action) - try container.encode(enabled, forKey: .enabledColor) + try container.encode(enabledColor, forKey: .enabledColor) try container.encodeIfPresent(disabledColor, forKey: .disabledColor) try container.encode(enabled, forKey: .enabled) try container.encode(enabledColor_inverted, forKey: .enabledColor_inverted)