MESSENGER-4646 fix missing matomo button

This commit is contained in:
Frank Rotermund
2023-05-04 08:57:36 +02:00
parent aa3f30c507
commit df6278de31
@@ -328,7 +328,7 @@ TableViewSectionsDelegate>
[sections addObject:pinCodeSection];
// BWI: if tracking is enabled show switch to turn it on/off
if ([BWIAnalytics.sharedTracker isEnabled]) {
if (BWIBuildSettings.shared.bwiMatomoEnabled) {
Section *analyticsSection = [Section sectionWithTag:SECTION_ANALYTICS];
[analyticsSection addRowWithTag:ANALYTICS_ENABLED];
analyticsSection.headerTitle = BWIL10n.bwiSettingsAnalyticsSectionHeader;