mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various improvements
This commit is contained in:
@@ -352,6 +352,12 @@ public class AttachmentController: ViewController {
|
||||
}
|
||||
}
|
||||
|
||||
self.panel.longPressed = { [weak self] _ in
|
||||
if let strongSelf = self, let currentController = strongSelf.currentControllers.last {
|
||||
currentController.longTapWithTabBar?()
|
||||
}
|
||||
}
|
||||
|
||||
self.panel.beganTextEditing = { [weak self] in
|
||||
if let strongSelf = self {
|
||||
strongSelf.container.update(isExpanded: true, transition: .animated(duration: 0.4, curve: .spring))
|
||||
|
||||
Reference in New Issue
Block a user