mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Name colors improvements
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user