removed un-needed
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
c2998ee0bf
commit
0be0d71f7b
@ -138,15 +138,12 @@ open class ToggleView: Control, Changeable {
|
||||
|
||||
open override func reset() {
|
||||
super.reset()
|
||||
shouldUpdateView = false
|
||||
isOn = false
|
||||
isAnimated = true
|
||||
inputId = nil
|
||||
value = nil
|
||||
toggleView.backgroundColor = toggleColorConfiguration.getColor(self)
|
||||
knobView.backgroundColor = knobColorConfiguration.getColor(self)
|
||||
shouldUpdateView = true
|
||||
setNeedsUpdate()
|
||||
}
|
||||
|
||||
/// This will toggle the state of the Toggle and execute the actionBlock if provided.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user