mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
Clean
This commit is contained in:
parent
d940f6571d
commit
4593b7fd92
@ -160,12 +160,6 @@ public func sendAuthorizationCode(accountManager: AccountManager<TelegramAccount
|
|||||||
case let .sentCode(sentCode):
|
case let .sentCode(sentCode):
|
||||||
switch sentCode {
|
switch sentCode {
|
||||||
case let .sentCode(_, type, phoneCodeHash, nextType, timeout):
|
case let .sentCode(_, type, phoneCodeHash, nextType, timeout):
|
||||||
/*#if DEBUG
|
|
||||||
var type = type
|
|
||||||
type = .sentCodeTypeMissedCall(prefix: "+44 1234 8", length: 5)
|
|
||||||
var nextType = nextType
|
|
||||||
nextType = nil
|
|
||||||
#endif*/
|
|
||||||
var parsedNextType: AuthorizationCodeNextType?
|
var parsedNextType: AuthorizationCodeNextType?
|
||||||
if let nextType = nextType {
|
if let nextType = nextType {
|
||||||
parsedNextType = AuthorizationCodeNextType(apiType: nextType)
|
parsedNextType = AuthorizationCodeNextType(apiType: nextType)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user