From eddfdea2ca462a1e0f63c2790f6d92572c3ac7d9 Mon Sep 17 00:00:00 2001 From: asmsuechan Date: Sat, 22 Jul 2017 14:20:42 +0900 Subject: [PATCH] Fix a closing tag and a condition --- browser/main/modals/PreferencesModal/InfoTab.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/browser/main/modals/PreferencesModal/InfoTab.js b/browser/main/modals/PreferencesModal/InfoTab.js index e92e77a7..20e0fc7a 100644 --- a/browser/main/modals/PreferencesModal/InfoTab.js +++ b/browser/main/modals/PreferencesModal/InfoTab.js @@ -40,7 +40,7 @@ class InfoTab extends React.Component { type: 'SET_CONFIG', config: newConfig }) - if (newConfig.amaEnabled) { + if (!newConfig.amaEnabled) { AwsMobileAnalyticsConfig.recordDynamitCustomEvent('DISABLE_AMA') } } @@ -96,8 +96,8 @@ class InfoTab extends React.Component {
Data collectiong policy
-

We collect only the amount of users on Boostnote for DAU and any detail information -

such as a note's content or title is not collected.

+

We collect only the amount of users on Boostnote for DAU and any detail information
+ such as a note's content or title is not collected.

You can see how it works on GitHub

this.handleConfigChange(e)} checked={this.state.config.amaEnabled}