mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Handle pending URL when core is started in AssistantView
This commit is contained in:
parent
05d955b698
commit
1c858a4d9b
1 changed files with 10 additions and 0 deletions
|
|
@ -189,6 +189,16 @@ struct RootView: View {
|
|||
AssistantView()
|
||||
ToastView().zIndex(3)
|
||||
}
|
||||
|
||||
if coreContext.coreIsStarted {
|
||||
VStack {} // Force trigger .onAppear
|
||||
.onAppear {
|
||||
if let url = pendingURL {
|
||||
URIHandler.handleURL(url: url)
|
||||
pendingURL = nil
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
ZStack {
|
||||
MainViewSwitcher(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue