mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 14:08:41 +00:00
Replaced all credits currency name at least with simple star.
This commit is contained in:
@@ -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")
|
||||||
|
Reference in New Issue
Block a user