Feature/4382 performance send message

This commit is contained in:
Frank Rotermund
2023-03-31 10:31:06 +00:00
parent ef25b94e59
commit 54e8305e5c
14 changed files with 119 additions and 52 deletions
@@ -332,6 +332,7 @@ TableViewSectionsDelegate>
Section *analyticsSection = [Section sectionWithTag:SECTION_ANALYTICS];
[analyticsSection addRowWithTag:ANALYTICS_ENABLED];
analyticsSection.headerTitle = BWIL10n.bwiSettingsAnalyticsSectionHeader;
analyticsSection.footerTitle = BWIL10n.bwiSettingsAnalyticsSectionFooter;
[sections addObject:analyticsSection];
}
@@ -1306,7 +1307,7 @@ TableViewSectionsDelegate>
if (rowTag == ANALYTICS_ENABLED) {
MXKTableViewCellWithLabelAndSwitch* labelAndSwitchCell = [self getLabelAndSwitchCell:tableView forIndexPath:indexPath];
labelAndSwitchCell.mxkLabel.text = BWIL10n.matomoSettingsSendDiagnosticData;
labelAndSwitchCell.mxkLabel.text = BWIL10n.bwiSettingsAnalyticsSwitchText;
labelAndSwitchCell.mxkSwitch.on = BWIAnalytics.sharedTracker.running;
labelAndSwitchCell.mxkSwitch.onTintColor = ThemeService.shared.theme.tintColor;
labelAndSwitchCell.mxkSwitch.enabled = YES;