mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Replaced all credits currency name at least with simple star.
This commit is contained in:
parent
a2a27e115c
commit
93eff78cd6
1 changed files with 3 additions and 0 deletions
|
@ -147,6 +147,9 @@ QString FillAmountAndCurrency(
|
||||||
Expects(amount != std::numeric_limits<int64>::min());
|
Expects(amount != std::numeric_limits<int64>::min());
|
||||||
|
|
||||||
const auto rule = LookupCurrencyRule(currency);
|
const auto rule = LookupCurrencyRule(currency);
|
||||||
|
if (currency == kCreditsCurrency) {
|
||||||
|
return QChar(0x2B50) + Lang::FormatCountDecimal(std::abs(amount));
|
||||||
|
}
|
||||||
|
|
||||||
const auto prefix = (amount < 0)
|
const auto prefix = (amount < 0)
|
||||||
? QString::fromUtf8("\xe2\x88\x92")
|
? QString::fromUtf8("\xe2\x88\x92")
|
||||||
|
|
Loading…
Add table
Reference in a new issue