Follow up to #2325 - Prevent tighlooping between makeUIView and updateUIView when creating room calls.

This commit is contained in:
Stefan Ceriu
2024-01-25 09:12:50 +02:00
committed by Stefan Ceriu
parent b00295151e
commit 4e4c03267a
2 changed files with 7 additions and 7 deletions
@@ -34,12 +34,11 @@ class GenericCallLinkCoordinator: CoordinatorProtocol {
}
func toPresentable() -> AnyView {
AnyView(
WebView(url: parameters.url)
.id(UUID())
.ignoresSafeArea(edges: .bottom)
.presentationDragIndicator(.visible)
)
AnyView(WebView(url: parameters.url)
// This URL is stable, forces view reloads if this representable is ever reused for another url
.id(parameters.url)
.ignoresSafeArea(edges: .bottom)
.presentationDragIndicator(.visible))
}
}