mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
feat: set user-agent for calls WebView
This commit is contained in:
@@ -123,6 +123,8 @@ private struct CallView: UIViewRepresentable {
|
|||||||
webView.navigationDelegate = self
|
webView.navigationDelegate = self
|
||||||
webView.isInspectable = true
|
webView.isInspectable = true
|
||||||
|
|
||||||
|
webView.customUserAgent = UserAgentBuilder.makeASCIIUserAgent()
|
||||||
|
|
||||||
// https://stackoverflow.com/a/77963877/730924
|
// https://stackoverflow.com/a/77963877/730924
|
||||||
webView.allowsLinkPreview = true
|
webView.allowsLinkPreview = true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user