Skip to content

Commit

Permalink
Revert some fonts that were changed in #6275
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave committed Jul 8, 2022
1 parent 611d1a1 commit 1b570c4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

#import "GeneratedInterface-Swift.h"

@import DesignKit;

enum
{
Expand Down Expand Up @@ -493,7 +494,7 @@ - (void)tableView:(UITableView *)tableView willDisplayHeaderView:(UIView *)view
// Customize label style
UITableViewHeaderFooterView *tableViewHeaderFooterView = (UITableViewHeaderFooterView*)view;
tableViewHeaderFooterView.textLabel.textColor = ThemeService.shared.theme.colors.secondaryContent;
tableViewHeaderFooterView.textLabel.font = [UIFont preferredFontForTextStyle:UIFontTextStyleFootnote];
tableViewHeaderFooterView.textLabel.font = ThemeService.shared.theme.fonts.footnote;
}
}

Expand Down
4 changes: 3 additions & 1 deletion Riot/Modules/Settings/Security/SecurityViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

#import "GeneratedInterface-Swift.h"

@import DesignKit;

// Dev flag to have more options
//#define CROSS_SIGNING_AND_BACKUP_DEV

Expand Down Expand Up @@ -1297,7 +1299,7 @@ - (void)tableView:(UITableView *)tableView willDisplayHeaderView:(UIView *)view
// Customize label style
UITableViewHeaderFooterView *tableViewHeaderFooterView = (UITableViewHeaderFooterView*)view;
tableViewHeaderFooterView.textLabel.textColor = ThemeService.shared.theme.colors.secondaryContent;
tableViewHeaderFooterView.textLabel.font = [UIFont preferredFontForTextStyle:UIFontTextStyleFootnote];
tableViewHeaderFooterView.textLabel.font = ThemeService.shared.theme.fonts.footnote;
}
}

Expand Down
4 changes: 3 additions & 1 deletion Riot/Modules/Settings/SettingsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@

#import "GeneratedInterface-Swift.h"

@import DesignKit;

NSString* const kSettingsViewControllerPhoneBookCountryCellId = @"kSettingsViewControllerPhoneBookCountryCellId";

typedef NS_ENUM(NSUInteger, SECTION_TAG)
Expand Down Expand Up @@ -2634,7 +2636,7 @@ - (void)tableView:(UITableView *)tableView willDisplayHeaderView:(UIView *)view
// Customize label style
UITableViewHeaderFooterView *tableViewHeaderFooterView = (UITableViewHeaderFooterView*)view;
tableViewHeaderFooterView.textLabel.textColor = ThemeService.shared.theme.colors.secondaryContent;
tableViewHeaderFooterView.textLabel.font = [UIFont preferredFontForTextStyle:UIFontTextStyleFootnote];
tableViewHeaderFooterView.textLabel.font = ThemeService.shared.theme.fonts.footnote;
}
}

Expand Down

0 comments on commit 1b570c4

Please sign in to comment.