diff --git a/submodules/TelegramPresentationData/Sources/PresentationData.swift b/submodules/TelegramPresentationData/Sources/PresentationData.swift index c38327099b..2298746b6c 100644 --- a/submodules/TelegramPresentationData/Sources/PresentationData.swift +++ b/submodules/TelegramPresentationData/Sources/PresentationData.swift @@ -330,17 +330,6 @@ private struct AutomaticThemeSwitchParameters { } private func automaticThemeShouldSwitchNow(_ parameters: AutomaticThemeSwitchParameters, currentTheme: PresentationThemeReference) -> Bool { - switch currentTheme { - case let .builtin(builtin): - switch builtin { - case .nightAccent, .night: - return false - default: - break - } - default: - return false - } switch parameters.trigger { case .none: return false