Name colors improvements

This commit is contained in:
Ilya Laktyushin
2023-10-26 14:46:48 +04:00
parent 44e737d837
commit 4432135259
10 changed files with 40 additions and 28 deletions

View File

@@ -165,7 +165,7 @@ public class ChatMessageForwardInfoNode: ASDisplayNode {
} else {
if incoming {
if let nameColor = peer?.nameColor {
titleColor = context.peerNameColors.get(nameColor).main
titleColor = context.peerNameColors.get(nameColor, dark: presentationData.theme.theme.overallDarkAppearance).main
} else {
titleColor = presentationData.theme.theme.chat.message.incoming.accentTextColor
}