Fix openLink from main button

This commit is contained in:
Ilya Laktyushin
2022-05-23 15:44:16 +04:00
parent a0e0bb520d
commit 9dc4560011

View File

@@ -378,6 +378,7 @@ public final class WebAppController: ViewController, AttachmentContainable {
}
@objc fileprivate func mainButtonPressed() {
self.webView?.lastTouchTimestamp = CACurrentMediaTime()
self.webView?.sendEvent(name: "main_button_pressed", data: nil)
}