This commit is contained in:
Suresh, Kamlesh 2020-01-22 14:51:17 -05:00
parent d78bc7aa58
commit 61edfcc747

View File

@ -477,8 +477,8 @@ import MVMCore
self.isRequired = isRequired self.isRequired = isRequired
} }
if let borderColorHex = checkboxModel.borderColor { if let borderColor = checkboxModel.borderColor {
layer.borderColor = borderColorHex.uiColor.cgColor layer.borderColor = borderColor.cgColor
} }
if let borderWidth = checkboxModel.borderWidth { if let borderWidth = checkboxModel.borderWidth {
@ -495,12 +495,12 @@ import MVMCore
checkColor = uiCheckColor checkColor = uiCheckColor
} }
if let unCheckedBackgroundColorHex = checkboxModel.unCheckedBackgroundColor { if let unCheckedBackgroundColor = checkboxModel.unCheckedBackgroundColor {
unCheckedBackgroundColor = unCheckedBackgroundColorHex.uiColor self.unCheckedBackgroundColor = unCheckedBackgroundColor.uiColor
} }
if let checkedBackgroundColorHex = checkboxModel.checkedBackgroundColor { if let checkedBackgroundColor = checkboxModel.checkedBackgroundColor {
checkedBackgroundColor = checkedBackgroundColorHex.uiColor self.checkedBackgroundColor = checkedBackgroundColor.uiColor
} }
if let isAnimated = checkboxModel.isAnimated { if let isAnimated = checkboxModel.isAnimated {