Various improvements

This commit is contained in:
Ilya Laktyushin
2025-03-21 18:41:49 +04:00
parent 454b77da4e
commit 5956d5142f
41 changed files with 998 additions and 214 deletions

View File

@@ -212,7 +212,7 @@ extension ChatControllerImpl {
let premiumGiftOptions: [CachedPremiumGiftOption]
var showPremiumGift = false
if !premiumConfiguration.isPremiumDisabled {
if !premiumConfiguration.isPremiumDisabled && self.presentationInterfaceState.disallowedGifts != TelegramDisallowedGifts.All {
if self.presentationInterfaceState.alwaysShowGiftButton {
showPremiumGift = true
} else if self.presentationInterfaceState.hasBirthdayToday {