mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-08 19:10:53 +00:00
Rename
This commit is contained in:
parent
8c3643f04c
commit
29d8543edf
@ -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)
|
||||
}))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user