mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Various forum improvements
This commit is contained in:
@@ -335,9 +335,15 @@ class ChatMessageThreadInfoNode: ASDisplayNode {
|
||||
textColor = UIColor(rgb: colors.1.first ?? 0x000000)
|
||||
arrowIcon = PresentationResourcesChat.chatBubbleArrowImage(color: textColor.withAlphaComponent(0.3))
|
||||
} else {
|
||||
backgroundColor = (incoming ? arguments.presentationData.theme.theme.chat.message.incoming.accentTextColor : arguments.presentationData.theme.theme.chat.message.outgoing.accentTextColor)
|
||||
textColor = incoming ? arguments.presentationData.theme.theme.chat.message.incoming.accentTextColor : arguments.presentationData.theme.theme.chat.message.outgoing.accentTextColor
|
||||
arrowIcon = incoming ? PresentationResourcesChat.chatBubbleArrowIncomingImage(arguments.presentationData.theme.theme) : PresentationResourcesChat.chatBubbleArrowOutgoingImage(arguments.presentationData.theme.theme)
|
||||
if incoming {
|
||||
backgroundColor = arguments.presentationData.theme.theme.chat.message.incoming.accentTextColor
|
||||
textColor = arguments.presentationData.theme.theme.chat.message.incoming.accentTextColor
|
||||
arrowIcon = PresentationResourcesChat.chatBubbleArrowIncomingImage(arguments.presentationData.theme.theme)
|
||||
} else {
|
||||
backgroundColor = arguments.presentationData.theme.theme.chat.message.outgoing.accentTextColor
|
||||
textColor = arguments.presentationData.theme.theme.chat.message.outgoing.accentTextColor
|
||||
arrowIcon = PresentationResourcesChat.chatBubbleArrowOutgoingImage(arguments.presentationData.theme.theme)
|
||||
}
|
||||
}
|
||||
case .standalone:
|
||||
textColor = .white
|
||||
|
||||
Reference in New Issue
Block a user