mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Message effects improvements
This commit is contained in:
@@ -717,7 +717,7 @@ class WebSearchControllerNode: ASDisplayNode {
|
||||
}
|
||||
|
||||
@objc private func sendPressed() {
|
||||
self.controllerInteraction.sendSelected(nil, false, nil)
|
||||
self.controllerInteraction.sendSelected(nil, false, nil, nil)
|
||||
|
||||
self.cancel?()
|
||||
}
|
||||
@@ -740,7 +740,7 @@ class WebSearchControllerNode: ASDisplayNode {
|
||||
return self?.transitionNode(for: result)?.transitionView()
|
||||
}, completed: { [weak self] result in
|
||||
if let strongSelf = self {
|
||||
strongSelf.controllerInteraction.sendSelected(result, false, nil)
|
||||
strongSelf.controllerInteraction.sendSelected(result, false, nil, nil)
|
||||
strongSelf.cancel?()
|
||||
}
|
||||
}, getCaptionPanelView: self.getCaptionPanelView, present: present)
|
||||
@@ -760,7 +760,7 @@ class WebSearchControllerNode: ASDisplayNode {
|
||||
|
||||
}, baseNavigationController: nil, sendCurrent: { [weak self] result in
|
||||
if let strongSelf = self {
|
||||
strongSelf.controllerInteraction.sendSelected(result, false, nil)
|
||||
strongSelf.controllerInteraction.sendSelected(result, false, nil, nil)
|
||||
strongSelf.cancel?()
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user