mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Follow up to #2325 - Prevent tighlooping between makeUIView and updateUIView when creating room calls.
This commit is contained in:
committed by
Stefan Ceriu
parent
b00295151e
commit
4e4c03267a
@@ -23,7 +23,8 @@ struct CallScreen: View {
|
||||
|
||||
var body: some View {
|
||||
WebView(url: context.viewState.url, viewModelContext: context)
|
||||
.id(UUID())
|
||||
// This URL is stable, forces view reloads if this representable is ever reused for another url
|
||||
.id(context.viewState.url)
|
||||
.ignoresSafeArea(edges: .bottom)
|
||||
.presentationDragIndicator(.visible)
|
||||
.environment(\.colorScheme, .dark)
|
||||
|
||||
Reference in New Issue
Block a user