Always add dim color

This commit is contained in:
Ali 2023-03-10 13:09:08 +04:00
parent 304be6b28d
commit 48dcf4c9a2

View File

@ -413,9 +413,9 @@ final class WallpaperBackgroundNodeImpl: ASDisplayNode, WallpaperBackgroundNode
self.contentNode.backgroundColor = nil self.contentNode.backgroundColor = nil
needsCleanBackground = true needsCleanBackground = true
if wallpaper.isBuiltin { //if wallpaper.isBuiltin {
overlayColor = selectDateFillStaticColor(theme: bubbleTheme, wallpaper: wallpaper) overlayColor = selectDateFillStaticColor(theme: bubbleTheme, wallpaper: wallpaper)
} //}
} }
var isInvertedGradient = false var isInvertedGradient = false
@ -1446,7 +1446,7 @@ final class WallpaperBackgroundNodeImpl: ASDisplayNode, WallpaperBackgroundNode
return nil return nil
} }
#if false #if true
var sourceView: PortalSourceView? var sourceView: PortalSourceView?
switch type { switch type {
case .free: case .free: