You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following code working fine with the react-native switch. If i change it to use react-native-customisable-switch it stops working. When I press the TouchableOpacity it calls changeSwitchState function but the switch value don't change.
componentDidUpdate(prevProps,prevState){// make a reference to switch... in this case this._privacy_setting is the ref// compare prev state and current state// execute animation methodif(this._privacy_setting&&prevState.privacy_setting!=this.state.privacy_setting){this._privacy_setting.startGroupAnimations();}}
I have the following code working fine with the react-native switch. If i change it to use react-native-customisable-switch it stops working. When I press the TouchableOpacity it calls changeSwitchState function but the switch value don't change.
The text was updated successfully, but these errors were encountered: