mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Add debugging
This commit is contained in:
@@ -551,7 +551,12 @@ public final class SharedAccountContextImpl: SharedAccountContext {
|
||||
}
|
||||
|
||||
if self.activeAccountsValue!.primary == nil && self.activeAccountsValue!.currentAuth == nil {
|
||||
self.beginNewAuth(testingEnvironment: false)
|
||||
#if DEBUG
|
||||
let testingEnvironment = true
|
||||
#else
|
||||
let testingEnvironment = false
|
||||
#endif
|
||||
self.beginNewAuth(testingEnvironment: testingEnvironment)
|
||||
}
|
||||
}))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user