From fb3eeaa323aa72eed4fc669dba2ecf0a84ed2110 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Fri, 19 Jul 2019 22:54:25 +0200 Subject: [PATCH] Fixed classic theme creation --- .../Sources/DefaultDayPresentationTheme.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramPresentationData/Sources/DefaultDayPresentationTheme.swift b/submodules/TelegramPresentationData/Sources/DefaultDayPresentationTheme.swift index 39a09b269d..aa966f2916 100644 --- a/submodules/TelegramPresentationData/Sources/DefaultDayPresentationTheme.swift +++ b/submodules/TelegramPresentationData/Sources/DefaultDayPresentationTheme.swift @@ -334,5 +334,5 @@ public let defaultServiceBackgroundColor = UIColor(rgb: 0x000000, alpha: 0.3) public func makeDefaultDayPresentationTheme(accentColor: UIColor? = nil, serviceBackgroundColor: UIColor, day: Bool) -> PresentationTheme { let accentColor = accentColor ?? defaultDayAccentColor - return makeDefaultDayPresentationTheme(accentColor: accentColor, serviceBackgroundColor: serviceBackgroundColor, day: true) + return makeDefaultDayPresentationTheme(accentColor: accentColor, serviceBackgroundColor: serviceBackgroundColor, day: day) }