mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-06 12:46:29 +02:00
Fix UserSettings for new analyticsOptIn
This commit is contained in:
parent
0c22343bb8
commit
c191464e97
@ -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();
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user