5720: Rework some location sharing related view

This commit is contained in:
MaximeE
2022-03-23 15:48:19 +01:00
parent 8e3107095f
commit 7f140388a1
35 changed files with 218 additions and 126 deletions

View File

@@ -94,8 +94,7 @@ extension ThreadTableViewCell: Themable {
func update(theme: Theme) {
self.theme = theme
Self.usernameColorGenerator.defaultColor = theme.colors.primaryContent
Self.usernameColorGenerator.userNameColors = theme.colors.namesAndAvatars
Self.usernameColorGenerator.update(theme: theme)
updateRootMessageSenderColor()
rootMessageAvatarView.backgroundColor = .clear
if let attributedText = rootMessageContentLabel.attributedText {