From 3f11259fa895f0eba963513dd529ebfc615239c0 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 30 Oct 2020 13:42:35 +0000 Subject: [PATCH] fix CountlyAnalytics canEnable on wrong target --- .../views/settings/tabs/user/SecurityUserSettingsTab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/settings/tabs/user/SecurityUserSettingsTab.js b/src/components/views/settings/tabs/user/SecurityUserSettingsTab.js index 19fa51ffa5a..50c55b6104a 100644 --- a/src/components/views/settings/tabs/user/SecurityUserSettingsTab.js +++ b/src/components/views/settings/tabs/user/SecurityUserSettingsTab.js @@ -341,7 +341,7 @@ export default class SecurityUserSettingsTab extends React.Component { } let privacySection; - if (Analytics.canEnable() || CountlyAnalytics.canEnable()) { + if (Analytics.canEnable() || CountlyAnalytics.instance.canEnable()) { privacySection =
{_t("Privacy")}