Fix UserSettings for new analyticsOptIn
This commit is contained in:
parent
aa4bbbc3db
commit
d01e738839
1 changed files with 2 additions and 2 deletions
|
@ -86,9 +86,9 @@ const SIMPLE_SETTINGS = [
|
||||||
// These settings must be defined in SettingsStore
|
// These settings must be defined in SettingsStore
|
||||||
const ANALYTICS_SETTINGS = [
|
const ANALYTICS_SETTINGS = [
|
||||||
{
|
{
|
||||||
id: 'analyticsOptOut',
|
id: 'analyticsOptIn',
|
||||||
fn: function(checked) {
|
fn: function(checked) {
|
||||||
Analytics[checked ? 'disable' : 'enable']();
|
checked ? Analytics.enable() : Analytics.disable();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue