Fixes #2325 - Prevent the same WebView from being reused for multiple Element Call links

This commit is contained in:
Stefan Ceriu
2024-01-16 09:15:09 +02:00
parent 11f1fa361a
commit 6ed5b74da4
3 changed files with 3 additions and 0 deletions
@@ -23,6 +23,7 @@ struct CallScreen: View {
var body: some View {
WebView(url: context.viewState.url, viewModelContext: context)
.id(UUID())
.ignoresSafeArea(edges: .bottom)
.presentationDragIndicator(.visible)
.environment(\.colorScheme, .dark)
@@ -36,6 +36,7 @@ class GenericCallLinkCoordinator: CoordinatorProtocol {
func toPresentable() -> AnyView {
AnyView(
WebView(url: parameters.url)
.id(UUID())
.ignoresSafeArea(edges: .bottom)
.presentationDragIndicator(.visible)
)
+1
View File
@@ -0,0 +1 @@
Prevent the same WebView from being reused for multiple Element Call links