2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +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

@@ -85,6 +85,7 @@ using SectionCustomTopBarData = Info::Settings::SectionCustomTopBarData;
if (option.duration == tr::lng_months(tr::now, lt_count, 1)) {
option.costPerMonth = QString();
option.costNoDiscount = QString();
option.duration = tr::lng_premium_subscribe_months_1(tr::now);
} else if (option.duration == tr::lng_months(tr::now, lt_count, 6)) {
option.duration = tr::lng_premium_subscribe_months_6(tr::now);