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)