fixes
This commit is contained in:
parent
d78bc7aa58
commit
61edfcc747
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user