mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Fix one-to-one call start
This commit is contained in:
parent
917d22b1ec
commit
93094b1bec
1 changed files with 18 additions and 0 deletions
|
|
@ -202,6 +202,24 @@ struct StartConversationFragment: View {
|
|||
.frame(maxWidth: .infinity)
|
||||
}
|
||||
.background(.white)
|
||||
|
||||
if startConversationViewModel.operationInProgress {
|
||||
PopupLoadingView()
|
||||
.background(.black.opacity(0.65))
|
||||
.onDisappear {
|
||||
startConversationViewModel.searchField = ""
|
||||
MagicSearchSingleton.shared.currentFilter = ""
|
||||
MagicSearchSingleton.shared.searchForContacts()
|
||||
delayColorDismiss()
|
||||
|
||||
isShowStartConversationFragment = false
|
||||
|
||||
if let displayedConversation = startConversationViewModel.displayedConversation {
|
||||
self.conversationsListViewModel.changeDisplayedChatRoom(conversationModel: displayedConversation)
|
||||
startConversationViewModel.displayedConversation = nil
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.onAppear {
|
||||
if !magicSearch.currentFilter.isEmpty || (self.contactsManager.lastSearch.isEmpty && self.contactsManager.lastSearchSuggestions.isEmpty) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue