mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Story optimizations
This commit is contained in:
@@ -264,6 +264,10 @@ public final class TextFieldComponent: Component {
|
||||
self.updateEntities()
|
||||
}
|
||||
|
||||
public func hasFirstResponder() -> Bool {
|
||||
return self.textView.isFirstResponder
|
||||
}
|
||||
|
||||
public func insertText(_ text: NSAttributedString) {
|
||||
self.updateInputState { state in
|
||||
return state.insertText(text)
|
||||
|
||||
Reference in New Issue
Block a user