diff --git a/MVMCoreUI/Atoms/Views/Checkbox.swift b/MVMCoreUI/Atoms/Views/Checkbox.swift index a568622b..d139f130 100644 --- a/MVMCoreUI/Atoms/Views/Checkbox.swift +++ b/MVMCoreUI/Atoms/Views/Checkbox.swift @@ -123,7 +123,7 @@ import MVMCore private var widthConstraint: NSLayoutConstraint? /// Updates the height and width anchors of the Checkbox with the assigned value. - public var heigthWidthConstant: Int = Checkbox.defaultHeightWidth { + public var heigthWidthConstant: CGFloat = Checkbox.defaultHeightWidth { didSet { heightConstraint?.constant = heigthWidthConstant widthConstraint?.constant = heigthWidthConstant @@ -140,7 +140,6 @@ import MVMCore accessibilityTraits = .button accessibilityHint = MVMCoreUIUtility.hardcodedString(withKey: "checkbox_action_hint") updateAccessibilityLabel() - setupView() }