mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
[WIP] Business
This commit is contained in:
@@ -53,6 +53,9 @@ import UndoUI
|
||||
import ChatMessageNotificationItem
|
||||
import BusinessSetupScreen
|
||||
import ChatbotSetupScreen
|
||||
import BusinessLocationSetupScreen
|
||||
import BusinessHoursSetupScreen
|
||||
import GreetingMessageSetupScreen
|
||||
|
||||
private final class AccountUserInterfaceInUseContext {
|
||||
let subscribers = Bag<(Bool) -> Void>()
|
||||
@@ -1888,6 +1891,18 @@ public final class SharedAccountContextImpl: SharedAccountContext {
|
||||
return ChatbotSetupScreen(context: context)
|
||||
}
|
||||
|
||||
public func makeBusinessLocationSetupScreen(context: AccountContext) -> ViewController {
|
||||
return BusinessLocationSetupScreen(context: context)
|
||||
}
|
||||
|
||||
public func makeBusinessHoursSetupScreen(context: AccountContext) -> ViewController {
|
||||
return BusinessHoursSetupScreen(context: context)
|
||||
}
|
||||
|
||||
public func makeGreetingMessageSetupScreen(context: AccountContext) -> ViewController {
|
||||
return GreetingMessageSetupScreen(context: context)
|
||||
}
|
||||
|
||||
public func makePremiumIntroController(context: AccountContext, source: PremiumIntroSource, forceDark: Bool, dismissed: (() -> Void)?) -> ViewController {
|
||||
var modal = true
|
||||
let mappedSource: PremiumSource
|
||||
|
||||
Reference in New Issue
Block a user