From acc7fedd0e14f2b60a06d4198b29e936ea22e260 Mon Sep 17 00:00:00 2001 From: enahum Date: Thu, 14 Sep 2017 16:54:20 -0300 Subject: [PATCH] Fix saving Android notification preferences (#907) --- .../notification_settings_mobile.android.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/screens/settings/notification_settings_mobile/notification_settings_mobile.android.js b/app/screens/settings/notification_settings_mobile/notification_settings_mobile.android.js index 56efa00cd..df248bf17 100644 --- a/app/screens/settings/notification_settings_mobile/notification_settings_mobile.android.js +++ b/app/screens/settings/notification_settings_mobile/notification_settings_mobile.android.js @@ -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}); };