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 MessagesSearchResultAttachmentBubbleCell
@@ -26,11 +27,11 @@
{
[super customizeTableViewCellRendering];
self.userNameLabel.textColor = ThemeService.shared.theme.textPrimaryColor;
self.roomNameLabel.textColor = ThemeService.shared.theme.textSecondaryColor;
self.messageTextView.tintColor = ThemeService.shared.theme.tintColor;
[self updateUserNameColor];
}
- (void)render:(MXKCellData *)cellData
@@ -52,6 +53,8 @@
{
self.roomNameLabel.text = bubbleData.roomId;
}
[self updateUserNameColor];
}
}