mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 19:10:49 +02:00
Apply new user name color generation on bubble cells where needed
This commit is contained in:
+4
-2
@@ -19,6 +19,7 @@
|
||||
|
||||
#import "ThemeService.h"
|
||||
#import "Riot-Swift.h"
|
||||
#import "MXKRoomBubbleTableViewCell+Riot.h"
|
||||
|
||||
@implementation RoomIncomingTextMsgWithPaginationTitleBubbleCell
|
||||
|
||||
@@ -26,8 +27,7 @@
|
||||
{
|
||||
[super customizeTableViewCellRendering];
|
||||
|
||||
self.userNameLabel.textColor = ThemeService.shared.theme.textPrimaryColor;
|
||||
|
||||
[self updateUserNameColor];
|
||||
self.paginationLabel.textColor = ThemeService.shared.theme.tintColor;
|
||||
self.paginationSeparatorView.backgroundColor = ThemeService.shared.theme.tintColor;
|
||||
self.messageTextView.tintColor = ThemeService.shared.theme.tintColor;
|
||||
@@ -40,6 +40,8 @@
|
||||
if (bubbleData)
|
||||
{
|
||||
self.paginationLabel.text = [[bubbleData.eventFormatter dateStringFromDate:bubbleData.date withTime:NO] uppercaseString];
|
||||
|
||||
[self updateUserNameColor];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user