Business intro screen

This commit is contained in:
Ilya Laktyushin
2024-02-16 15:29:55 -04:00
parent ba24da0593
commit 16903cdffd
50 changed files with 4424 additions and 357 deletions

View File

@@ -20,7 +20,6 @@ import TelegramIntents
import AnimationCache
import MultiAnimationRenderer
import ObjectiveC
import PremiumUI
import UndoUI
private var ObjCKey_DeinitWatcher: Int?
@@ -1241,7 +1240,8 @@ public final class ShareController: ViewController {
}
if case .undo = action {
self.controllerNode.cancel?()
let premiumController = PremiumIntroScreen(context: context.context, source: .settings)
let premiumController = context.context.sharedContext.makePremiumIntroController(context: context.context, source: .settings, forceDark: false, dismissed: nil)
parentNavigationController.pushViewController(premiumController)
}
return false