diff --git a/Display/SwitchNode.swift b/Display/SwitchNode.swift index 8d920ef87a..cdfc498be6 100644 --- a/Display/SwitchNode.swift +++ b/Display/SwitchNode.swift @@ -84,6 +84,7 @@ open class SwitchNode: ASDisplayNode { } @objc func switchValueChanged(_ view: UISwitch) { + self._isOn = view.isOn self.valueUpdated?(view.isOn) } }