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
}
if let borderColorHex = checkboxModel.borderColor {
layer.borderColor = borderColorHex.uiColor.cgColor
if let borderColor = checkboxModel.borderColor {
layer.borderColor = borderColor.cgColor
}
if let borderWidth = checkboxModel.borderWidth {
@ -495,12 +495,12 @@ import MVMCore
checkColor = uiCheckColor
}
if let unCheckedBackgroundColorHex = checkboxModel.unCheckedBackgroundColor {
unCheckedBackgroundColor = unCheckedBackgroundColorHex.uiColor
if let unCheckedBackgroundColor = checkboxModel.unCheckedBackgroundColor {
self.unCheckedBackgroundColor = unCheckedBackgroundColor.uiColor
}
if let checkedBackgroundColorHex = checkboxModel.checkedBackgroundColor {
checkedBackgroundColor = checkedBackgroundColorHex.uiColor
if let checkedBackgroundColor = checkboxModel.checkedBackgroundColor {
self.checkedBackgroundColor = checkedBackgroundColor.uiColor
}
if let isAnimated = checkboxModel.isAnimated {