mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Business intro screen
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user