mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
29 lines
691 B
Swift
29 lines
691 B
Swift
import Foundation
|
|
import AsyncDisplayKit
|
|
import Display
|
|
import TelegramCore
|
|
|
|
enum ChatInputContextPanelPlacement {
|
|
case overPanels
|
|
case overTextInput
|
|
}
|
|
|
|
class ChatInputContextPanelNode: ASDisplayNode {
|
|
let account: Account
|
|
var interfaceInteraction: ChatPanelInterfaceInteraction?
|
|
var placement: ChatInputContextPanelPlacement = .overPanels
|
|
|
|
init(account: Account) {
|
|
self.account = account
|
|
|
|
super.init()
|
|
}
|
|
|
|
func updateLayout(size: CGSize, transition: ContainedViewLayoutTransition, interfaceState: ChatPresentationInterfaceState) {
|
|
}
|
|
|
|
func animateOut(completion: @escaping () -> Void) {
|
|
completion()
|
|
}
|
|
}
|