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.
|
/// The state on the toggle. Default value: false.
|
||||||
open var isOn: Bool = false {
|
open var isOn: Bool = false {
|
||||||
didSet {
|
didSet {
|
||||||
isSelected = isOn
|
|
||||||
|
|
||||||
if isAnimated {
|
if isAnimated {
|
||||||
UIView.animate(withDuration: 0.2, delay: 0.0, options: .curveEaseIn, animations: {
|
UIView.animate(withDuration: 0.2, delay: 0.0, options: .curveEaseIn, animations: {
|
||||||
if self.isOn {
|
if self.isOn {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user