From 1425fd8973867e356172b4a07fb08043cb151ecc Mon Sep 17 00:00:00 2001 From: Isaac <> Date: Wed, 7 Jan 2026 02:56:15 +0800 Subject: [PATCH] Fix tinted dark panel control color --- .../Sources/DefaultDarkTintedPresentationTheme.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/TelegramPresentationData/Sources/DefaultDarkTintedPresentationTheme.swift b/submodules/TelegramPresentationData/Sources/DefaultDarkTintedPresentationTheme.swift index f6fe2579f6..0fc5c68106 100644 --- a/submodules/TelegramPresentationData/Sources/DefaultDarkTintedPresentationTheme.swift +++ b/submodules/TelegramPresentationData/Sources/DefaultDarkTintedPresentationTheme.swift @@ -429,7 +429,7 @@ public func customizeDefaultDarkTintedPresentationTheme(theme: PresentationTheme panelBackgroundColor: mainBackgroundColor?.withAlphaComponent(0.9), panelSeparatorColor: mainSeparatorColor, panelControlAccentColor: accentColor, - panelControlColor: mainSecondaryTextColor?.withAlphaComponent(0.5), + panelControlColor: UIColor(rgb: 0xffffff), inputBackgroundColor: inputBackgroundColor, inputStrokeColor: accentColor?.withMultiplied(hue: 1.038, saturation: 0.463, brightness: 0.26), inputPlaceholderColor: mainSecondaryTextColor?.withAlphaComponent(0.4), @@ -874,7 +874,7 @@ public func makeDefaultDarkTintedPresentationTheme(extendingThemeReference: Pres panelBackgroundColorNoWallpaper: accentColor.withMultiplied(hue: 1.024, saturation: 0.573, brightness: 0.18), panelSeparatorColor: mainSeparatorColor, panelControlAccentColor: accentColor, - panelControlColor: mainSecondaryTextColor.withAlphaComponent(0.5), + panelControlColor: UIColor(rgb: 0xffffff), panelControlDisabledColor: UIColor(rgb: 0x90979F, alpha: 0.5), panelControlDestructiveColor: UIColor(rgb: 0xff6767), inputBackgroundColor: inputBackgroundColor,