removed isSelected.

This commit is contained in:
Kevin G Christiano 2020-01-08 14:46:40 -05:00
parent 62c637f02b
commit a99dd7f0a6

View File

@ -77,8 +77,6 @@ public typealias ActionBlockConfirmation = () -> (Bool)
/// The state on the toggle. Default value: false.
open var isOn: Bool = false {
didSet {
isSelected = isOn
if isAnimated {
UIView.animate(withDuration: 0.2, delay: 0.0, options: .curveEaseIn, animations: {
if self.isOn {