mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Let Element Call manage the safe areas within the web view. (#5573)
* Let Element Call manage the safe areas within the web view. * Update Element Call to 0.19.3.
This commit is contained in:
@@ -36,7 +36,7 @@ struct CallScreen: View {
|
||||
CallView(url: context.viewState.url, viewModelContext: context)
|
||||
// This URL is stable, forces view reloads if this representable is ever reused for another url
|
||||
.id(context.viewState.url)
|
||||
.ignoresSafeArea(edges: .bottom)
|
||||
.ignoresSafeArea()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -121,6 +121,7 @@ private struct CallView: UIViewRepresentable {
|
||||
webView.uiDelegate = self
|
||||
webView.navigationDelegate = self
|
||||
webView.isInspectable = true
|
||||
webView.scrollView.contentInsetAdjustmentBehavior = .never // Let Element Call manage the safe areas within the web view.
|
||||
|
||||
webView.customUserAgent = UserAgentBuilder.makeASCIIUserAgent()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user