[WIP] Email authorization

This commit is contained in:
Ilya Laktyushin
2022-08-13 01:11:48 +03:00
parent e795194a8f
commit aea7e12813
36 changed files with 3416 additions and 2385 deletions

View File

@@ -140,10 +140,12 @@ final class AuthorizationSequenceCodeEntryController: ViewController {
minimalCodeLength = Int(length)
case let .call(length):
minimalCodeLength = Int(length)
case .flashCall:
break
case let .missedCall(_, length):
minimalCodeLength = Int(length)
case let .email(_, length, _, _, _):
minimalCodeLength = Int(length)
case .flashCall, .emailSetupRequired:
break
}
if self.controllerNode.currentCode.count < minimalCodeLength {