Fix saving Android notification preferences (#907)

This commit is contained in:
enahum 2017-09-14 16:54:20 -03:00 committed by GitHub
parent 446c90f371
commit acc7fedd0e

View file

@ -621,12 +621,12 @@ class NotificationSettingsMobileAndroid extends NotificationSettingsMobileBase {
};
toggleBlink = () => {
NotificationPreferences.setShouldBlink(this.state.shouldBlink);
NotificationPreferences.setShouldBlink(!this.state.shouldBlink);
this.setState({shouldBlink: !this.state.shouldBlink});
};
toggleVibrate = () => {
NotificationPreferences.setShouldVibrate(this.state.shouldVibrate);
NotificationPreferences.setShouldVibrate(!this.state.shouldVibrate);
this.setState({shouldVibrate: !this.state.shouldVibrate});
};