mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
@@ -174,9 +174,13 @@ public final class PrincipalThemeEssentialGraphics {
|
||||
|
||||
var outgoingGradientColors: (UIColor, UIColor)?
|
||||
if let baseColor = presentationTheme.baseColor {
|
||||
let colors = baseColor.outgoingGradientColors
|
||||
if !colors.0.isEqual(colors.1) {
|
||||
outgoingGradientColors = colors
|
||||
if presentationTheme.baseColor == .custom {
|
||||
|
||||
} else [
|
||||
let colors = baseColor.outgoingGradientColors
|
||||
if !colors.0.isEqual(colors.1) {
|
||||
outgoingGradientColors = colors
|
||||
}
|
||||
}
|
||||
}
|
||||
if let outgoingGradientColors = outgoingGradientColors {
|
||||
|
||||
Reference in New Issue
Block a user