Fix prepaid giveaway

This commit is contained in:
Ilya Laktyushin
2024-09-03 19:15:41 +04:00
parent ca9898eb83
commit f620d084bc
3 changed files with 21 additions and 14 deletions

View File

@@ -1448,7 +1448,7 @@ private func boostsEntries(
text = presentationData.strings.Stats_Boosts_PrepaidGiveawayMonths("\(months)").string
case let .stars(stars, _):
title = presentationData.strings.Stats_Boosts_Stars(Int32(stars))
text = presentationData.strings.Stats_Boosts_StarsBoosts
text = presentationData.strings.Stats_Boosts_StarsWinners(giveaway.quantity)
}
entries.append(.boostPrepaid(i, presentationData.theme, title, text, giveaway))
i += 1