mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Initial implementation
This commit is contained in:
@@ -1772,6 +1772,10 @@ class ChatControllerNode: ASDisplayNode, UIScrollViewDelegate {
|
||||
return self.textInputPanelNode?.textInputNode
|
||||
}
|
||||
|
||||
func updateRecordedMediaDeleted(_ isDeleted: Bool) {
|
||||
self.textInputPanelNode?.isMediaDeleted = isDeleted
|
||||
}
|
||||
|
||||
func frameForVisibleArea() -> CGRect {
|
||||
let rect = CGRect(origin: CGPoint(x: self.visibleAreaInset.left, y: self.visibleAreaInset.top), size: CGSize(width: self.bounds.size.width - self.visibleAreaInset.left - self.visibleAreaInset.right, height: self.bounds.size.height - self.visibleAreaInset.top - self.visibleAreaInset.bottom))
|
||||
if let containerNode = self.containerNode {
|
||||
|
||||
Reference in New Issue
Block a user