mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix build
This commit is contained in:
parent
fe2cc49a55
commit
60aef02fa5
@ -71,15 +71,8 @@ private func actionForAttribute(attribute: StarGift.UniqueGift.Attribute, presen
|
|||||||
|
|
||||||
var title = "# \(name)"
|
var title = "# \(name)"
|
||||||
var count = ""
|
var count = ""
|
||||||
var attributeId: ResaleGiftsContext.Attribute?
|
|
||||||
switch attribute {
|
|
||||||
case .model:
|
|
||||||
attributeId = .model(file.fileId.id)
|
|
||||||
case .pattern:
|
|
||||||
attributeId = .pattenr(file.fileId.id)
|
|
||||||
}
|
|
||||||
|
|
||||||
if let attributeId, let counter = item.attributeCount[attributeId] {
|
if let counter = item.attributeCount[attributeId] {
|
||||||
count = " \(presentationStringsFormattedNumber(counter, presentationData.dateTimeFormat.groupingSeparator))"
|
count = " \(presentationStringsFormattedNumber(counter, presentationData.dateTimeFormat.groupingSeparator))"
|
||||||
entities.append(
|
entities.append(
|
||||||
MessageTextEntity(
|
MessageTextEntity(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user