Various improvements

This commit is contained in:
Ilya Laktyushin
2025-08-27 17:32:48 +04:00
parent bbef11084a
commit 4a5e7ebed4
15 changed files with 545 additions and 93 deletions

View File

@@ -830,8 +830,7 @@ public func universalServiceMessageString(presentationData: (PresentationTheme,
} else {
let price: String
if currency == "XTR" {
//TODO:localize
price = "\(amount) Stars"
price = strings.Notification_PremiumGift_Stars(Int32(clamping: amount))
} else {
price = formatCurrencyAmount(amount, currency: currency)
}