mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Refactoring
This commit is contained in:
@@ -120,7 +120,10 @@ public func debugAccountsController(context: AccountContext, accountManager: Acc
|
||||
ActionSheetItemGroup(items: [
|
||||
ActionSheetButtonItem(title: "Production", color: .accent, action: {
|
||||
dismissAction()
|
||||
context.sharedContext.beginNewAuth(testingEnvironment: false)
|
||||
|
||||
if case .internal = context.sharedContext.applicationBindings.appBuildType {
|
||||
context.sharedContext.beginNewAuth(testingEnvironment: false)
|
||||
}
|
||||
}),
|
||||
ActionSheetButtonItem(title: "Test", color: .accent, action: {
|
||||
dismissAction()
|
||||
|
||||
Reference in New Issue
Block a user