Improve star gift value table row.

This commit is contained in:
John Preston 2024-10-11 14:33:21 +04:00
parent f2a92c9122
commit 21f909dd4b
2 changed files with 2 additions and 2 deletions

View file

@ -989,7 +989,7 @@ void AddStarGiftTable(
table,
tr::lng_gift_link_label_value(),
rpl::single(
star.append(Lang::FormatCountDecimal(entry.credits))),
star.append(' ' + Lang::FormatCountDecimal(entry.credits))),
makeContext);
}
if (!entry.date.isNull()) {

View file

@ -897,7 +897,7 @@ void ReceiptCreditsBox(
Ui::AddSkip(content);
{
if (!isStarGift || creditsHistoryStarGift || e.soldOutInfo) {
constexpr auto kMinus = QChar(0x2212);
auto &lifetime = content->lifetime();
const auto text = lifetime.make_state<Ui::Text::String>();