Fixes #2325 - Prevent the same WebView from being reused for multiple Element Call links
This commit is contained in:
@@ -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
changelog.d/2325.bugfix
Normal file
1
changelog.d/2325.bugfix
Normal file
@@ -0,0 +1 @@
|
||||
Prevent the same WebView from being reused for multiple Element Call links
|
||||
Reference in New Issue
Block a user