Various improvements

This commit is contained in:
Ilya Laktyushin
2025-10-16 05:30:06 +04:00
parent babf5cc9d7
commit 0915a42e64
289 changed files with 9723 additions and 2071 deletions

View File

@@ -4766,6 +4766,10 @@ public class ChatTextInputPanelNode: ChatInputPanelNode, ASEditableTextNodeDeleg
return nil
}
public func getAttachmentButton() -> UIView {
return self.attachmentButton
}
public func frameForAttachmentButton() -> CGRect? {
if !self.attachmentButtonBackground.alpha.isZero {
return self.attachmentButtonBackground.frame.insetBy(dx: 0.0, dy: -4.0).offsetBy(dx: 0.0, dy: 0.0)