reskin: Kill kRiotColorXxxx

This commit is contained in:
manuroe
2019-01-11 11:57:02 +01:00
parent 2fdb06d879
commit 9cce93ecea
20 changed files with 69 additions and 78 deletions
@@ -2226,7 +2226,7 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)(void);
NSString *btnTitle = NSLocalizedStringFromTable(@"settings_deactivate_my_account", @"Vector", nil);
[deactivateAccountBtnCell.mxkButton setTitle:btnTitle forState:UIControlStateNormal];
[deactivateAccountBtnCell.mxkButton setTitle:btnTitle forState:UIControlStateHighlighted];
[deactivateAccountBtnCell.mxkButton setTintColor:kRiotColorRed];
[deactivateAccountBtnCell.mxkButton setTintColor:ThemeService.shared.riotColorRed];
deactivateAccountBtnCell.mxkButton.titleLabel.font = [UIFont systemFontOfSize:17];
[deactivateAccountBtnCell.mxkButton removeTarget:self action:nil forControlEvents:UIControlEventTouchUpInside];