desktop: dismiss chat sheet when contact connects while qrcode is open (#4607)

This commit is contained in:
Diogo
2024-08-06 21:58:31 +01:00
committed by GitHub
parent 159f66e812
commit 75101ac885

View File

@@ -671,6 +671,7 @@ object ChatModel {
showingInvitation.value = null
chatModel.chatItems.clear()
chatModel.chatId.value = withId
ModalManager.start.closeModals()
ModalManager.end.closeModals()
}
}
@@ -681,6 +682,7 @@ object ChatModel {
chatModel.chatItems.clear()
chatModel.chatId.value = null
// Close NewChatView
ModalManager.start.closeModals()
ModalManager.center.closeModals()
ModalManager.end.closeModals()
}