mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Added suggestion for annual premium to top bar in dialogs.
This commit is contained in:
@@ -25,6 +25,7 @@ Data::PremiumSubscriptionOption CreateSubscriptionOption(
|
||||
* kDiscountDivider;
|
||||
}();
|
||||
return {
|
||||
.months = months,
|
||||
.duration = Ui::FormatTTL(months * 86400 * 31),
|
||||
.discount = (discount > 0)
|
||||
? QString::fromUtf8("\xe2\x88\x92%1%").arg(discount)
|
||||
|
Reference in New Issue
Block a user