mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
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 {
|
var body: some View {
|
||||||
WebView(url: context.viewState.url, viewModelContext: context)
|
WebView(url: context.viewState.url, viewModelContext: context)
|
||||||
|
.id(UUID())
|
||||||
.ignoresSafeArea(edges: .bottom)
|
.ignoresSafeArea(edges: .bottom)
|
||||||
.presentationDragIndicator(.visible)
|
.presentationDragIndicator(.visible)
|
||||||
.environment(\.colorScheme, .dark)
|
.environment(\.colorScheme, .dark)
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ class GenericCallLinkCoordinator: CoordinatorProtocol {
|
|||||||
func toPresentable() -> AnyView {
|
func toPresentable() -> AnyView {
|
||||||
AnyView(
|
AnyView(
|
||||||
WebView(url: parameters.url)
|
WebView(url: parameters.url)
|
||||||
|
.id(UUID())
|
||||||
.ignoresSafeArea(edges: .bottom)
|
.ignoresSafeArea(edges: .bottom)
|
||||||
.presentationDragIndicator(.visible)
|
.presentationDragIndicator(.visible)
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
Prevent the same WebView from being reused for multiple Element Call links
|
||||||
Reference in New Issue
Block a user