reskin: Kill kRiotColorXxxx

This commit is contained in:
manuroe
2019-01-11 11:57:02 +01:00
parent 744a0b8d4f
commit b789fb46a9
20 changed files with 69 additions and 78 deletions
+1 -1
View File
@@ -1331,7 +1331,7 @@
// Show it in red only for room widgets, not user's widgets
// TODO: Design must be reviewed
UIImage *icon = self.navigationItem.rightBarButtonItems[1].image;
icon = [MXKTools paintImage:icon withColor:kRiotColorPinkRed];
icon = [MXKTools paintImage:icon withColor:ThemeService.shared.riotColorPinkRed];
icon = [icon imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
self.navigationItem.rightBarButtonItems[1].image = icon;