mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Replace legacy background with vector one
This commit is contained in:
parent
b39238c6db
commit
7fcce53b2c
7 changed files with 48 additions and 3 deletions
|
|
@ -1035,7 +1035,7 @@ final class WallpaperBackgroundNodeImpl: ASDisplayNode, WallpaperBackgroundNode
|
|||
if patternIsBlack {
|
||||
self.patternImageLayer.softlightMode = .never
|
||||
} else {
|
||||
if self.useSharedAnimationPhase {
|
||||
if self.useSharedAnimationPhase && file.settings.colors.count > 2 {
|
||||
self.patternImageLayer.softlightMode = .whileAnimating
|
||||
} else {
|
||||
self.patternImageLayer.softlightMode = .always
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue