mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Business intro screen
This commit is contained in:
parent
ba24da0593
commit
16903cdffd
50 changed files with 4424 additions and 357 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue