Apply new user name color generation on bubble cells where needed

This commit is contained in:
SBiOSoftWhare
2019-03-07 17:46:45 +01:00
parent 24f681b357
commit 3c14316455
9 changed files with 55 additions and 13 deletions
@@ -19,6 +19,7 @@
#import "ThemeService.h"
#import "Riot-Swift.h"
#import "MXKRoomBubbleTableViewCell+Riot.h"
@implementation RoomOutgoingTextMsgBubbleCell
@@ -26,8 +27,17 @@
{
[super customizeTableViewCellRendering];
self.userNameLabel.textColor = ThemeService.shared.theme.textPrimaryColor;
[self updateUserNameColor];
self.messageTextView.tintColor = ThemeService.shared.theme.tintColor;
}
- (void)render:(MXKCellData *)cellData
{
[super render:cellData];
[self updateUserNameColor];
}
@end