Replaced all credits currency name at least with simple star.

This commit is contained in:
23rd 2024-05-24 21:55:27 +03:00 committed by John Preston
parent a2a27e115c
commit 93eff78cd6
1 changed files with 3 additions and 0 deletions

View File

@ -147,6 +147,9 @@ QString FillAmountAndCurrency(
Expects(amount != std::numeric_limits<int64>::min());
const auto rule = LookupCurrencyRule(currency);
if (currency == kCreditsCurrency) {
return QChar(0x2B50) + Lang::FormatCountDecimal(std::abs(amount));
}
const auto prefix = (amount < 0)
? QString::fromUtf8("\xe2\x88\x92")