mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Fix openLink from main button
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user