Enable Dark theme

TODO:
- fix the app freeze when user changes the app theme.
This commit is contained in:
Giom Foret
2017-08-11 16:56:09 +02:00
parent 1c9fc7a910
commit c4aa8013be
109 changed files with 1528 additions and 339 deletions
+4 -4
View File
@@ -60,10 +60,10 @@
{
[super customizeCollectionViewCellRendering];
self.roomTitle.textColor = kRiotTextColorBlack;
self.roomTitle1.textColor = kRiotTextColorBlack;
self.roomTitle2.textColor = kRiotTextColorBlack;
self.missedNotifAndUnreadBadgeLabel.textColor = [UIColor whiteColor];
self.roomTitle.textColor = kRiotPrimaryTextColor;
self.roomTitle1.textColor = kRiotPrimaryTextColor;
self.roomTitle2.textColor = kRiotPrimaryTextColor;
self.missedNotifAndUnreadBadgeLabel.textColor = kRiotPrimaryBgColor;
// Prepare direct room border
[self.directRoomBorderView.layer setCornerRadius:self.directRoomBorderView.frame.size.width / 2];