mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Gift improvements
This commit is contained in:
@@ -1250,7 +1250,7 @@ public func universalServiceMessageString(presentationData: (PresentationTheme,
|
||||
starsString = strings.Notification_StarsGift_Bought_Stars(Int32(resaleStars.amount.value))
|
||||
case .ton:
|
||||
//TODO:localize
|
||||
starsString = "\(Int32(resaleStars.amount.value)) TON"
|
||||
starsString = formatTonAmountText(resaleStars.amount.value, dateTimeFormat: dateTimeFormat) + " TON"
|
||||
}
|
||||
let giftTitle = "\(gift.title) #\(presentationStringsFormattedNumber(gift.number, dateTimeFormat.groupingSeparator))"
|
||||
attributes[1] = boldAttributes
|
||||
|
||||
Reference in New Issue
Block a user