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

@@ -1612,7 +1612,7 @@ public final class ChatListNode: ListView {
guard let self else {
return
}
let controller = self.context.sharedContext.makePremiumGiftController(context: self.context)
let controller = self.context.sharedContext.makePremiumGiftController(context: self.context, source: .chatList)
self.push?(controller)
}, openActiveSessions: { [weak self] in
guard let self else {