mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Remove .00 from credits amount.
This commit is contained in:
@@ -2971,7 +2971,9 @@ object_ptr<Ui::RpWidget> SetupChannelMembersAndManage(
|
||||
? Ui::MakeCreditsIconEntity()
|
||||
.append(QChar(' '))
|
||||
.append(Info::ChannelEarn::MajorPart(credits))
|
||||
.append(Info::ChannelEarn::MinorPart(credits))
|
||||
.append(credits.nano()
|
||||
? Info::ChannelEarn::MinorPart(credits)
|
||||
: QString())
|
||||
: TextWithEntities();
|
||||
auto currencyText = (currency > CreditsAmount(0))
|
||||
? Ui::Text::SingleCustomEmoji("_")
|
||||
|
||||
Reference in New Issue
Block a user