mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
Fixed classic theme creation
This commit is contained in:
parent
21ad9b9ca2
commit
fb3eeaa323
@ -334,5 +334,5 @@ public let defaultServiceBackgroundColor = UIColor(rgb: 0x000000, alpha: 0.3)
|
|||||||
|
|
||||||
public func makeDefaultDayPresentationTheme(accentColor: UIColor? = nil, serviceBackgroundColor: UIColor, day: Bool) -> PresentationTheme {
|
public func makeDefaultDayPresentationTheme(accentColor: UIColor? = nil, serviceBackgroundColor: UIColor, day: Bool) -> PresentationTheme {
|
||||||
let accentColor = accentColor ?? defaultDayAccentColor
|
let accentColor = accentColor ?? defaultDayAccentColor
|
||||||
return makeDefaultDayPresentationTheme(accentColor: accentColor, serviceBackgroundColor: serviceBackgroundColor, day: true)
|
return makeDefaultDayPresentationTheme(accentColor: accentColor, serviceBackgroundColor: serviceBackgroundColor, day: day)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user