remove typo

This commit is contained in:
Xinlei(Ryan) Pan 2020-02-19 14:45:51 -05:00
parent 7d5ddfe523
commit 5c42c4bf28

View File

@ -43,7 +43,6 @@ public class LinkModel: ButtonModelProtocol, MoleculeModelProtocol {
case enabled case enabled
case textColor case textColor
case disabledColor case disabledColor
case moleculeName
} }
//-------------------------------------------------- //--------------------------------------------------
@ -74,9 +73,7 @@ public class LinkModel: ButtonModelProtocol, MoleculeModelProtocol {
try container.encodeIfPresent(backgroundColor, forKey: .backgroundColor) try container.encodeIfPresent(backgroundColor, forKey: .backgroundColor)
try container.encodeModel(action, forKey: .action) try container.encodeModel(action, forKey: .action)
try container.encode(enabled, forKey: .enabled) try container.encode(enabled, forKey: .enabled)
try container.encode(moleculeName, forKey: .moleculeName)
try container.encode(textColor, forKey: .textColor) try container.encode(textColor, forKey: .textColor)
try container.encode(disabledColor, forKey: .disabledColor) try container.encode(disabledColor, forKey: .disabledColor)
try container.encode(moleculeName, forKey: .moleculeName)
} }
} }