Use matrix-analytics-events generated stubs (locally for now).

Track screens, removing any that aren't part of the schema.
This commit is contained in:
Doug
2021-11-24 18:04:54 +00:00
parent b5f3a56666
commit cea6cd145b
45 changed files with 137 additions and 232 deletions
@@ -95,9 +95,6 @@ static CGFloat const kTextFontSize = 15.0;
[super viewWillAppear:animated];
[self userInterfaceThemeDidChange];
// Screen tracking
[Analytics.shared trackScreen:@"DeactivateAccount"];
}
- (void)viewDidLayoutSubviews
@@ -106,14 +106,6 @@
}
}
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
// Screen tracking
[Analytics.shared trackScreen:@"CountryPicker"];
}
- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath;
{
cell.textLabel.textColor = ThemeService.shared.theme.textPrimaryColor;
@@ -95,14 +95,6 @@
return ThemeService.shared.theme.statusBarStyle;
}
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
// Screen tracking
[Analytics.shared trackScreen:@"CountryPicker"];
}
- (void)destroy
{
[super destroy];
@@ -161,9 +161,6 @@ enum {
{
[super viewWillAppear:animated];
// Screen tracking
[Analytics.shared trackScreen:@"ManageSession"];
// Release the potential pushed view controller
[self releasePushedViewController];
@@ -250,9 +250,6 @@ TableViewSectionsDelegate>
{
[super viewWillAppear:animated];
// Screen tracking
[Analytics.shared trackScreen:@"Security"];
// Release the potential pushed view controller
[self releasePushedViewController];
@@ -776,9 +776,6 @@ TableViewSectionsDelegate>
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
// Screen tracking
[Analytics.shared trackScreen:@"Settings"];
// Refresh display
[self refreshSettings];