diff --git a/Telegram/Telegram-iOS/en.lproj/Localizable.strings b/Telegram/Telegram-iOS/en.lproj/Localizable.strings index 1bd2b687b6..a647271629 100644 --- a/Telegram/Telegram-iOS/en.lproj/Localizable.strings +++ b/Telegram/Telegram-iOS/en.lproj/Localizable.strings @@ -11043,7 +11043,7 @@ Sorry for the inconvenience."; "ChannelBoost.Table.Group.Wallpaper_any" = "%@ Group Backgrounds"; "ChannelBoost.Table.Group.CustomWallpaper" = "Custom Group Background"; -"Premium.Group.BoostByGiftDescription" = "Boost your group by gifting your subscribers Telegram Premium. [Get boosts >]()"; +"Premium.Group.BoostByGiftDescription" = "Boost your group by gifting your members Telegram Premium. [Get boosts >]()"; "Conversation.BoostGroup" = "BOOST"; diff --git a/submodules/StatisticsUI/Sources/ChannelStatsController.swift b/submodules/StatisticsUI/Sources/ChannelStatsController.swift index 57ca6ab5b5..2c8c6cd556 100644 --- a/submodules/StatisticsUI/Sources/ChannelStatsController.swift +++ b/submodules/StatisticsUI/Sources/ChannelStatsController.swift @@ -1519,7 +1519,11 @@ public func channelStatsController(context: AccountContext, updatedPresentationD peerId: peerId, mode: .owner(subject: nil), status: boostStatus, - myBoostStatus: myBoostStatus + myBoostStatus: myBoostStatus, + openGift: { [weak controller] in + let giveawayController = createGiveawayController(context: context, peerId: peerId, subject: .generic) + controller?.push(giveawayController) + } ) boostController.boostStatusUpdated = { boostStatus in boostDataPromise.set(.single(boostStatus))