From 48dcf4c9a211c2b2178f16f754ff2fd0f2f0185b Mon Sep 17 00:00:00 2001 From: Ali <> Date: Fri, 10 Mar 2023 13:09:08 +0400 Subject: [PATCH] Always add dim color --- .../Sources/WallpaperBackgroundNode.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/submodules/WallpaperBackgroundNode/Sources/WallpaperBackgroundNode.swift b/submodules/WallpaperBackgroundNode/Sources/WallpaperBackgroundNode.swift index f8f170e47b9..db6ad6c36b7 100644 --- a/submodules/WallpaperBackgroundNode/Sources/WallpaperBackgroundNode.swift +++ b/submodules/WallpaperBackgroundNode/Sources/WallpaperBackgroundNode.swift @@ -413,9 +413,9 @@ final class WallpaperBackgroundNodeImpl: ASDisplayNode, WallpaperBackgroundNode self.contentNode.backgroundColor = nil needsCleanBackground = true - if wallpaper.isBuiltin { + //if wallpaper.isBuiltin { overlayColor = selectDateFillStaticColor(theme: bubbleTheme, wallpaper: wallpaper) - } + //} } var isInvertedGradient = false @@ -1446,7 +1446,7 @@ final class WallpaperBackgroundNodeImpl: ASDisplayNode, WallpaperBackgroundNode return nil } - #if false + #if true var sourceView: PortalSourceView? switch type { case .free: