Fix saving Android notification preferences (#907)
This commit is contained in:
parent
446c90f371
commit
acc7fedd0e
1 changed files with 2 additions and 2 deletions
|
|
@ -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});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue