This commit is contained in:
bekannax
2025-05-29 19:54:24 +07:00
parent 6bad77723e
commit b3aaf4e42f

View File

@@ -166,7 +166,6 @@ open class ChatController: UIViewController, WKNavigationDelegate, WKScriptMessa
config.mediaPlaybackRequiresUserAction = false
config.allowsInlineMediaPlayback = true
var frame = UIScreen.main.bounds
if parent != nil && parent?.view != nil && parent?.view.bounds != nil {
frame = (parent?.view.bounds)!