mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Improve star gift value table row.
This commit is contained in:
parent
f2a92c9122
commit
21f909dd4b
2 changed files with 2 additions and 2 deletions
|
@ -989,7 +989,7 @@ void AddStarGiftTable(
|
||||||
table,
|
table,
|
||||||
tr::lng_gift_link_label_value(),
|
tr::lng_gift_link_label_value(),
|
||||||
rpl::single(
|
rpl::single(
|
||||||
star.append(Lang::FormatCountDecimal(entry.credits))),
|
star.append(' ' + Lang::FormatCountDecimal(entry.credits))),
|
||||||
makeContext);
|
makeContext);
|
||||||
}
|
}
|
||||||
if (!entry.date.isNull()) {
|
if (!entry.date.isNull()) {
|
||||||
|
|
|
@ -897,7 +897,7 @@ void ReceiptCreditsBox(
|
||||||
|
|
||||||
Ui::AddSkip(content);
|
Ui::AddSkip(content);
|
||||||
|
|
||||||
{
|
if (!isStarGift || creditsHistoryStarGift || e.soldOutInfo) {
|
||||||
constexpr auto kMinus = QChar(0x2212);
|
constexpr auto kMinus = QChar(0x2212);
|
||||||
auto &lifetime = content->lifetime();
|
auto &lifetime = content->lifetime();
|
||||||
const auto text = lifetime.make_state<Ui::Text::String>();
|
const auto text = lifetime.make_state<Ui::Text::String>();
|
||||||
|
|
Loading…
Add table
Reference in a new issue