mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Text input updates
This commit is contained in:
@@ -276,6 +276,20 @@ public final class ChatInputMessageAccessoryPanel: Component {
|
||||
private var inlineTextStarImage: UIImage?
|
||||
private var inlineTextTonImage: (UIImage, UIColor)?
|
||||
|
||||
public var transitionData: ChatInputAccessoryPanelTransitionData? {
|
||||
guard let textView = self.text.view else {
|
||||
return nil
|
||||
}
|
||||
return ChatInputAccessoryPanelTransitionData(
|
||||
titleView: self.titleNode.view,
|
||||
textView: textView,
|
||||
lineView: self.lineView,
|
||||
imageView: nil
|
||||
)
|
||||
}
|
||||
|
||||
public var storedFrameBeforeDismissed: CGRect?
|
||||
|
||||
override public init(frame: CGRect) {
|
||||
self.contentTintView = UIView()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user