From ce5e83b53babfa68be66beac906454095e0fecdf Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Sat, 6 Dec 2025 02:31:11 +0400 Subject: [PATCH] Fix --- .../Sources/GlassBackgroundComponent.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/submodules/TelegramUI/Components/GlassBackgroundComponent/Sources/GlassBackgroundComponent.swift b/submodules/TelegramUI/Components/GlassBackgroundComponent/Sources/GlassBackgroundComponent.swift index 4c1852d959..00d3f6bc62 100644 --- a/submodules/TelegramUI/Components/GlassBackgroundComponent/Sources/GlassBackgroundComponent.swift +++ b/submodules/TelegramUI/Components/GlassBackgroundComponent/Sources/GlassBackgroundComponent.swift @@ -416,6 +416,7 @@ public class GlassBackgroundView: UIView { let nativeFrame = CGRect(origin: CGPoint(), size: size) transition.setFrame(view: nativeView, frame: nativeFrame) } + nativeView.overrideUserInterfaceStyle = isDark ? .dark : .light } if let backgroundNode = self.backgroundNode { backgroundNode.updateColor(color: .clear, forceKeepBlur: tintColor.color.alpha != 1.0, transition: transition.containedViewLayoutTransition)