mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-03-30 02:35:05 +00:00
Update
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user