mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Update
This commit is contained in:
parent
038a6e928c
commit
dec912f2db
9 changed files with 254 additions and 19 deletions
|
|
@ -153,8 +153,10 @@ public final class CodeInputView: ASDisplayNode, UITextFieldDelegate {
|
|||
super.init()
|
||||
|
||||
self.addSubnode(self.prefixLabel)
|
||||
self.textField.frame = CGRect(x: 0, y: 0, width: 1, height: 1)
|
||||
self.textField.alpha = 0.01
|
||||
self.view.addSubview(self.textField)
|
||||
|
||||
|
||||
self.view.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(self.tapGesture(_:))))
|
||||
self.textField.delegate = self
|
||||
self.textField.addTarget(self, action: #selector(self.textFieldChanged(_:)), for: .editingChanged)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue