Add gift screen presentation source

This commit is contained in:
Ilya Laktyushin
2023-12-21 18:36:15 +04:00
parent 6795603c4e
commit c035b7d376
11 changed files with 62 additions and 18 deletions

View File

@@ -880,7 +880,7 @@ public class ReplaceBoostScreen: ViewController {
}
let navigationController = self.navigationController
self.dismiss(animated: true, completion: {
let giftController = context.sharedContext.makePremiumGiftController(context: context)
let giftController = context.sharedContext.makePremiumGiftController(context: context, source: .channelBoost)
navigationController?.pushViewController(giftController, animated: true)
})
}