Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

fix CountlyAnalytics canEnable on wrong target #5369

Merged
merged 1 commit into from
Oct 30, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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 = <React.Fragment>
<div className="mx_SettingsTab_heading">{_t("Privacy")}</div>
<div className="mx_SettingsTab_section">
Expand Down