mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-17 02:35:43 +00:00
desktop: dismiss chat sheet when contact connects while qrcode is open (#4607)
This commit is contained in:
@@ -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