This commit is contained in:
Isaac
2026-02-15 22:50:18 +04:00
parent 038a6e928c
commit dec912f2db
9 changed files with 254 additions and 19 deletions

View File

@@ -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)