MESSENGER-4646 fix missing matomo button

This commit is contained in:
Frank Rotermund
2023-05-04 08:57:36 +02:00
parent 1a561f83c2
commit fa3eb93482
@@ -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;