Fix UserSettings for new analyticsOptIn

pull/21833/head
Luke Barnard 2018-05-15 15:39:12 +01:00
parent 0c22343bb8
commit c191464e97
1 changed files with 2 additions and 2 deletions

View File

@ -86,9 +86,9 @@ const SIMPLE_SETTINGS = [
// These settings must be defined in SettingsStore
const ANALYTICS_SETTINGS = [
{
id: 'analyticsOptOut',
id: 'analyticsOptIn',
fn: function(checked) {
Analytics[checked ? 'disable' : 'enable']();
checked ? Analytics.enable() : Analytics.disable();
},
},
];