mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-27 07:52:09 +00:00
Show unique gift number for my gifts.
This commit is contained in:
@@ -927,7 +927,7 @@ void GiftButton::paint(QPainter &p, float64 craftProgress) {
|
||||
return GiftBadge{
|
||||
.text = (onsale
|
||||
? tr::lng_gift_stars_on_sale(tr::now)
|
||||
: (unique && (data.resale || pinned))
|
||||
: (unique && (data.resale || pinned || data.mine))
|
||||
? ('#' + Lang::FormatCountDecimal(unique->number))
|
||||
: data.resale
|
||||
? tr::lng_gift_stars_resale(tr::now)
|
||||
|
||||
Reference in New Issue
Block a user