Various improvements

This commit is contained in:
Ilya Laktyushin
2023-08-10 23:47:34 +02:00
parent 707450eb9e
commit cd66f78799
32 changed files with 859 additions and 127 deletions

View File

@@ -292,7 +292,7 @@ final class PeerSelectionControllerNode: ASDisplayNode {
return
}
var replaceImpl: ((ViewController) -> Void)?
let controller = context.sharedContext.makePremiumLimitController(context: context, subject: .folders, count: strongSelf.controller?.tabContainerNode?.filtersCount ?? 0, action: {
let controller = context.sharedContext.makePremiumLimitController(context: context, subject: .folders, count: strongSelf.controller?.tabContainerNode?.filtersCount ?? 0, forceDark: false, cancel: {}, action: {
let controller = context.sharedContext.makePremiumIntroController(context: context, source: .folders, forceDark: false, dismissed: nil)
replaceImpl?(controller)
})