Fix premium intro crash

This commit is contained in:
Ilya Laktyushin 2023-08-11 02:44:05 +02:00
parent bba3b82cf5
commit 9c210d503a
2 changed files with 5 additions and 2 deletions

View File

@ -342,7 +342,8 @@ private final class PremiumGiftScreenContentComponent: CombinedComponent {
UIColor(rgb: 0x548DFF), UIColor(rgb: 0x548DFF),
UIColor(rgb: 0x54A3FF), UIColor(rgb: 0x54A3FF),
UIColor(rgb: 0x54bdff), UIColor(rgb: 0x54bdff),
UIColor(rgb: 0x71c8ff) UIColor(rgb: 0x71c8ff),
UIColor(rgb: 0xa0daff)
] ]
i = 0 i = 0

View File

@ -523,6 +523,7 @@ struct PremiumIntroConfiguration {
.doubleLimits, .doubleLimits,
.moreUpload, .moreUpload,
.fasterDownload, .fasterDownload,
.translation,
.voiceToText, .voiceToText,
.noAds, .noAds,
.emojiStatus, .emojiStatus,
@ -1633,7 +1634,8 @@ private final class PremiumIntroScreenContentComponent: CombinedComponent {
UIColor(rgb: 0x548DFF), UIColor(rgb: 0x548DFF),
UIColor(rgb: 0x54A3FF), UIColor(rgb: 0x54A3FF),
UIColor(rgb: 0x54bdff), UIColor(rgb: 0x54bdff),
UIColor(rgb: 0x71c8ff) UIColor(rgb: 0x71c8ff),
UIColor(rgb: 0xa0daff)
] ]
let accountContext = context.component.context let accountContext = context.component.context