You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: submodules/TelegramUI/Components/Chat/ChatMessageGiftBubbleContentNode/Sources/ChatMessageGiftBubbleContentNode.swift
+24-14Lines changed: 24 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ public class ChatMessageGiftBubbleContentNode: ChatMessageBubbleContentNode {
@@ -195,7 +191,6 @@ public class ChatMessageGiftBubbleContentNode: ChatMessageBubbleContentNode {
195
191
self.addSubnode(self.buttonNode)
196
192
self.buttonNode.addSubnode(self.buttonStarsNode)
197
193
self.buttonNode.addSubnode(self.buttonTitleNode)
198
-
self.buttonNode.addSubnode(self.buttonIconNode)
199
194
200
195
self.addSubnode(self.ribbonBackgroundNode)
201
196
self.addSubnode(self.ribbonTextNode)
@@ -478,6 +473,8 @@ public class ChatMessageGiftBubbleContentNode: ChatMessageBubbleContentNode {
478
473
}else{
479
474
if isRefunded {
480
475
text = item.presentationData.strings.Notification_StarGift_Subtitle_Refunded
476
+
}elseif upgraded {
477
+
text = item.presentationData.strings.Notification_StarGift_Subtitle_Upgraded
481
478
}elseif incoming {
482
479
if converted {
483
480
text = item.presentationData.strings.Notification_StarGift_Subtitle_Converted(item.presentationData.strings.Notification_StarGift_Subtitle_Converted_Stars(Int32(convertStars ??0))).string
@@ -530,7 +527,7 @@ public class ChatMessageGiftBubbleContentNode: ChatMessageBubbleContentNode {
530
527
}
531
528
if incoming || item.presentationData.isPreview,let upgradeStars, upgradeStars >0, !upgraded {
0 commit comments