fixed animation

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-06-27 15:10:30 -05:00
parent 9c6009e4ac
commit 532cb6c680

View File

@ -219,7 +219,7 @@ open class ToggleView: Control, Changeable, FormFieldable {
}
knobTrailingConstraint?.isActive = true
knobLeadingConstraint?.isActive = true
setNeedsLayout()
layoutIfNeeded()
}
private func updateToggle() {