VectorDesignValues: Load Vector colors at the app load time for the life of the app

This commit is contained in:
manuroe
2016-02-05 15:21:00 +01:00
parent 314f9547d1
commit 485f79b51e
29 changed files with 132 additions and 93 deletions
+4 -4
View File
@@ -36,7 +36,7 @@
[_roomAvatar.layer setCornerRadius:_roomAvatar.frame.size.width / 2];
_roomAvatar.clipsToBounds = YES;
self.roomTitle.textColor = VECTOR_TEXT_BLACK_COLOR;
self.roomTitle.textColor = kVectorTextColorBlack;
}
- (void)render:(MXKCellData *)cellData
@@ -69,14 +69,14 @@
}
else
{
self.bingIndicator.backgroundColor = VECTOR_SILVER_COLOR;
self.lastEventDate.textColor = VECTOR_TEXT_GRAY_COLOR;
self.bingIndicator.backgroundColor = kVectorColorSiver;
self.lastEventDate.textColor = kVectorTextColorGray;
}
}
else
{
self.bingIndicator.hidden = YES;
self.lastEventDate.textColor = VECTOR_TEXT_GRAY_COLOR;
self.lastEventDate.textColor = kVectorTextColorGray;
}
self.roomAvatar.backgroundColor = [UIColor clearColor];