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
+12-5Lines changed: 12 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -426,7 +426,8 @@ public class ChatMessageGiftBubbleContentNode: ChatMessageBubbleContentNode {
426
426
peerName =EnginePeer(channel).compactDisplayTitle
427
427
}
428
428
title = item.presentationData.strings.Notification_StarsGiveaway_Title
429
-
text = item.presentationData.strings.Notification_StarsGiveaway_Subtitle(peerName, item.presentationData.strings.Notification_StarsGiveaway_Subtitle_Stars(Int32(count))).string
@@ -523,15 +524,17 @@ public class ChatMessageGiftBubbleContentNode: ChatMessageBubbleContentNode {
523
524
}
524
525
if peerName.isEmpty {
525
526
iflet convertStars, convertStars >0{
526
-
text = item.presentationData.strings.Notification_StarGift_Subtitle(item.presentationData.strings.Notification_StarGift_Subtitle_Stars(Int32(convertStars))).string
0 commit comments