Message effects improvements

This commit is contained in:
Isaac
2024-05-13 20:14:15 +04:00
parent 3beaf8d580
commit 8736981248
43 changed files with 1045 additions and 505 deletions

View File

@@ -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?()
}
})