Update API

This commit is contained in:
Ilya Laktyushin
2023-12-13 16:42:21 +04:00
parent 2ce819bee1
commit 47cc4200c6
10 changed files with 107 additions and 41 deletions

View File

@@ -252,7 +252,7 @@ public class ChatMessageGiftBubbleContentNode: ChatMessageBubbleContentNode {
case let .giftPremium(_, _, monthsValue, _, _):
months = monthsValue
text = item.presentationData.strings.Notification_PremiumGift_Subtitle(item.presentationData.strings.Notification_PremiumGift_Months(months)).string
case let .giftCode(_, fromGiveaway, unclaimed, channelId, monthsValue):
case let .giftCode(_, fromGiveaway, unclaimed, channelId, monthsValue, _, _, _, _):
giftSize.width += 34.0
textSpacing += 13.0