mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-07 09:20:08 +00:00
Don't use bubble highlight on video messages
This commit is contained in:
parent
c29cd1bbba
commit
75359a283d
@ -4699,7 +4699,7 @@ public class ChatMessageBubbleItemNode: ChatMessageItemView, ChatMessagePreviewI
|
||||
if let backgroundType = self.backgroundType {
|
||||
let graphics = PresentationResourcesChat.principalGraphics(theme: item.presentationData.theme.theme, wallpaper: item.presentationData.theme.wallpaper, bubbleCorners: item.presentationData.chatBubbleCorners)
|
||||
|
||||
if self.highlightedState != nil {
|
||||
if self.highlightedState != nil, !(self.backgroundNode.layer.mask is SimpleLayer) {
|
||||
let backgroundHighlightNode: ChatMessageBackground
|
||||
if let current = self.backgroundHighlightNode {
|
||||
backgroundHighlightNode = current
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user