mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Bubble background fixes
This commit is contained in:
@@ -1400,8 +1400,10 @@ class ChatMessageBubbleItemNode: ChatMessageItemView, ChatMessagePreviewItemNode
|
||||
var backgroundHiding: ChatMessageBubbleContentBackgroundHiding?
|
||||
var hasSolidWallpaper = false
|
||||
switch item.presentationData.theme.wallpaper {
|
||||
case .color, .gradient:
|
||||
case .color:
|
||||
hasSolidWallpaper = true
|
||||
case let .gradient(colors, _):
|
||||
hasSolidWallpaper = colors.count <= 2
|
||||
default:
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user