reskin: kill riotColorRed & riotColorPinkRed

Merge them into Theme.warningColor

Part of #2174
This commit is contained in:
manuroe
2019-01-18 13:40:09 +01:00
parent acdd585d72
commit b90539acef
15 changed files with 28 additions and 25 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:ThemeService.shared.riotColorRed];
[deactivateAccountBtnCell.mxkButton setTintColor:ThemeService.shared.theme.warningColor];
deactivateAccountBtnCell.mxkButton.titleLabel.font = [UIFont systemFontOfSize:17];
[deactivateAccountBtnCell.mxkButton removeTarget:self action:nil forControlEvents:UIControlEventTouchUpInside];