2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-29 05:29:23 +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) : data.info.starsResellMin)
).append(data.info.resellCount > 1 ? "+" : "") ).append(data.info.resellCount > 1 ? "+" : "")
: (_small && unique && unique->starsForResale) : (_small && unique && unique->starsForResale)
? _delegate->monostar().append(' ').append( ? Data::FormatGiftResaleAsked(*unique)
format(unique->starsForResale))
: unique : unique
? tr::lng_gift_transfer_button( ? tr::lng_gift_transfer_button(
tr::now, tr::now,