Merge commit '6bee5aef6cd8271cdec9c675259a6ea0a68be1cc'

This commit is contained in:
Ali
2023-10-26 14:59:27 +04:00
10 changed files with 40 additions and 28 deletions

View File

@@ -177,7 +177,7 @@ public final class ChatMessageAttachedContentNode: ASDisplayNode {
let messageTheme = incoming ? presentationData.theme.theme.chat.message.incoming : presentationData.theme.theme.chat.message.outgoing
let author = message.author
let nameColors = author?.nameColor.flatMap { context.peerNameColors.get($0) }
let nameColors = author?.nameColor.flatMap { context.peerNameColors.get($0, dark: presentationData.theme.theme.overallDarkAppearance) }
let mainColor: UIColor
var secondaryColor: UIColor?