Channel boost

This commit is contained in:
Ilya Laktyushin
2023-09-13 17:21:53 +04:00
parent 9de5689328
commit f22e9176f2
31 changed files with 1674 additions and 486 deletions

View File

@@ -203,6 +203,7 @@ public final class PeerSelectionControllerImpl: ViewController, PeerSelectionCon
let controller = context.sharedContext.makePremiumLimitController(context: context, subject: .folders, count: strongSelf.tabContainerNode?.filtersCount ?? 0, forceDark: false, cancel: {}, action: {
let controller = context.sharedContext.makePremiumIntroController(context: context, source: .folders, forceDark: false, dismissed: nil)
replaceImpl?(controller)
return true
})
replaceImpl = { [weak controller] c in
controller?.replace(with: c)