mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-22 13:11:55 +00:00
desktop: dismiss chat sheet when contact connects while qrcode is open (#4607)
This commit is contained in:
1 parent
159f66e812
commit
75101ac885
1 file changed
+2
@@ -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()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user