no message

This commit is contained in:
Ilya Laktyushin
2018-09-17 20:38:17 +01:00
parent c2149ecd2e
commit 8407cd1c5f
43 changed files with 753 additions and 405 deletions

View File

@@ -268,7 +268,7 @@ final class AuthorizationSequenceCodeEntryControllerNode: ASDisplayNode, UITextF
default:
break
}
if let codeLength = codeLength, let text = textField.text, text.characters.count == Int(codeLength) {
if let codeLength = codeLength, let text = textField.text, text.count == Int(codeLength) {
self.loginWithCode?(text)
}
}