Skip to content

Commit 2f80db3

Browse files
committed
Show unique gift number for my gifts.
1 parent cfc8d28 commit 2f80db3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Telegram/SourceFiles/info/peer_gifts/info_peer_gifts_common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ void GiftButton::paint(QPainter &p, float64 craftProgress) {
927927
return GiftBadge{
928928
.text = (onsale
929929
? tr::lng_gift_stars_on_sale(tr::now)
930-
: (unique && (data.resale || pinned))
930+
: (unique && (data.resale || pinned || data.mine))
931931
? ('#' + Lang::FormatCountDecimal(unique->number))
932932
: data.resale
933933
? tr::lng_gift_stars_resale(tr::now)

0 commit comments

Comments
 (0)