This commit is contained in:
Kylmakalle 2025-08-04 22:20:48 +03:00
parent 8c3643f04c
commit 29d8543edf

View File

@ -1134,7 +1134,7 @@ private func settingsItems(showProfileId: Bool, data: PeerInfoScreenData?, conte
}
if let starsState = data.starsState {
if (!isPremiumDisabled || starsState.balance > StarsAmount.zero) && sgWebSettings.global.canGrant {
items[.payment]!.append(PeerInfoScreenDisclosureItem(id: 105, label: .text(""), text: presentationData.strings.Settings_SendGift, icon: PresentationResourcesSettings.premiumGift, action: {
items[.payment]!.append(PeerInfoScreenDisclosureItem(id: 105, label: .text(""), text: "Telegram Gifts", icon: PresentationResourcesSettings.premiumGift, action: {
interaction.openSettings(.premiumGift)
}))
}