Name color improvements

This commit is contained in:
Ilya Laktyushin
2023-10-25 12:32:54 +04:00
parent 2511c4a773
commit c444628fbe
17 changed files with 394 additions and 156 deletions

View File

@@ -163,11 +163,11 @@ public class ChatMessageForwardInfoNode: ASDisplayNode {
}
} else {
if incoming {
if let color = peer?.nameColor?.color {
titleColor = color
} else {
// if let color = peer?.nameColor?.color {
// titleColor = color
// } else {
titleColor = presentationData.theme.theme.chat.message.incoming.accentTextColor
}
// }
} else {
titleColor = presentationData.theme.theme.chat.message.outgoing.accentTextColor
}