File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
submodules/TelegramUI/Components/Gifts/GiftViewScreen/Sources Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2546,7 +2546,7 @@ private final class GiftViewSheetContent: CombinedComponent {
25462546 titleString = strings. Gift_View_UnavailableTitle
25472547 } else if let arguments = subject. arguments {
25482548 if let toPeerId = arguments. auctionToPeerId {
2549- isSelfGift = arguments. messageId? . peerId. isTelegramNotifications == true && toPeerId == component. context. account. peerId
2549+ isSelfGift = arguments. messageId? . peerId. isTelegramNotifications == true && toPeerId == component. context. account. peerId
25502550 } else {
25512551 isSelfGift = arguments. messageId? . peerId == component. context. account. peerId
25522552 }
@@ -2604,7 +2604,9 @@ private final class GiftViewSheetContent: CombinedComponent {
26042604 isMyOwnedUniqueGift = true
26052605 }
26062606
2607- if isSelfGift {
2607+ if let number = arguments. giftNumber, let title = genericGift? . title {
2608+ titleString = " \( title) # \( formatCollectibleNumber ( number, dateTimeFormat: environment. dateTimeFormat) ) "
2609+ } else if isSelfGift {
26082610 titleString = strings. Gift_View_Self_Title
26092611 } else {
26102612 titleString = incoming ? strings. Gift_View_ReceivedTitle : strings. Gift_View_Title
You can’t perform that action at this time.
0 commit comments