fix(@chat): press esc leave create chat view

fixes #5605
This commit is contained in:
Anthony Laibe 2022-05-03 13:34:30 +02:00 committed by Anthony Laibe
parent fb8a3f9100
commit 1f2521586b
1 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,10 @@ Page {
property var rootStore
property var emojiPopup: null
Keys.onEscapePressed: {
root.rootStore.openCreateChat = false;
}
ListView {
id: contactsModelListView
anchors.left: parent.left