Various improvements

This commit is contained in:
Ilya Laktyushin
2024-02-23 06:31:35 +04:00
parent 4dbe7344e5
commit ae7df78e97
11 changed files with 33 additions and 22 deletions

View File

@@ -2167,7 +2167,6 @@ private final class PremiumIntroScreenContentComponent: CombinedComponent {
size.height += 8.0
let status = state.peer?.emojiStatus
// let statusColor = state.peer?.nameColor.flatMap { context.component.context.peerNameColors.get($0, dark: environment.theme.overallDarkAppearance).main } ?? .blue
let accentColor = environment.theme.list.itemAccentColor
var perksItems: [AnyComponentWithIdentity<Empty>] = []
@@ -2347,7 +2346,6 @@ private final class PremiumIntroScreenContentComponent: CombinedComponent {
} else {
layoutPerks()
let textPadding: CGFloat = 13.0
let infoTitle = infoTitle.update(