This commit is contained in:
bekannax
2024-11-21 17:36:28 +07:00
parent d00434c0c4
commit 41ff2bd89a
2 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
//
import UIKit
import WebKit
@preconcurrency import WebKit
import AVFoundation
@available(iOS 13.0, *)
@@ -514,7 +514,7 @@ open class ChatController: UIViewController, WKNavigationDelegate, WKScriptMessa
}
open func onLinkPressed(url: URL) {
UIApplication.shared.openURL(url)
UIApplication.shared.open(url, options: [:], completionHandler: nil)
}
open func playSound(_ systemSoundId: SystemSoundID) {