Update src/PosthogAnalytics.ts

Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
James Salter 2021-08-02 11:45:49 +01:00 committed by GitHub
parent cd2bc79b6b
commit ce11e6c981
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -207,7 +207,7 @@ export class PosthogAnalytics {
}; };
private static getAnonymityFromSettings(): Anonymity { private static getAnonymityFromSettings(): Anonymity {
// determine the current anonymity level based on curernt user settings // determine the current anonymity level based on current user settings
// "Send anonymous usage data which helps us improve Element. This will use a cookie." // "Send anonymous usage data which helps us improve Element. This will use a cookie."
const analyticsOptIn = SettingsStore.getValue("analyticsOptIn", null, true); const analyticsOptIn = SettingsStore.getValue("analyticsOptIn", null, true);