2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Added strike out cost without discount in premium options in settings.

This commit is contained in:
23rd
2025-04-12 22:35:11 +03:00
committed by John Preston
parent 9ad1d1c25d
commit 3ed6d1dec1
4 changed files with 38 additions and 9 deletions

View File

@@ -33,6 +33,9 @@ Data::PremiumSubscriptionOption CreateSubscriptionOption(
.costPerMonth = Ui::FillAmountAndCurrency(
amount / float64(months),
currency),
.costNoDiscount = Ui::FillAmountAndCurrency(
monthlyAmount * months,
currency),
.costTotal = Ui::FillAmountAndCurrency(amount, currency),
.botUrl = botUrl,
};