removed isSelected.
This commit is contained in:
parent
62c637f02b
commit
a99dd7f0a6
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user