2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-22 02:07:24 +00:00

Show correct price in gifts list.

This commit is contained in:
John Preston 2025-07-30 10:51:19 +04:00
parent 9765319027
commit 9bc26b0068

View File

@ -169,8 +169,7 @@ void GiftButton::setDescriptor(const GiftDescriptor &descriptor, Mode mode) {
: data.info.starsResellMin)
).append(data.info.resellCount > 1 ? "+" : "")
: (_small && unique && unique->starsForResale)
? _delegate->monostar().append(' ').append(
format(unique->starsForResale))
? Data::FormatGiftResaleAsked(*unique)
: unique
? tr::lng_gift_transfer_button(
tr::now,