Fix highlight when ctrl-tabbing to AddNewChat page

This commit is contained in:
miruka 2020-07-10 10:42:42 -04:00
parent 0ea23dcb6f
commit 435bbdaf22
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,6 @@
- fix members not synced bug - fix members not synced bug
- fix local unread counters order - fix local unread counters order
- fix highlight when logging in to new account
- warn about no E2E room shared if no devices - warn about no E2E room shared if no devices
## Refactoring ## Refactoring

View File

@ -79,7 +79,8 @@ HListView {
property string filter: "" property string filter: ""
readonly property bool currentShouldBeAccount: readonly property bool currentShouldBeAccount:
window.uiState.page === "Pages/AccountSettings/AccountSettings.qml" window.uiState.page === "Pages/AccountSettings/AccountSettings.qml" ||
window.uiState.page === "Pages/AddChat/AddChat.qml"
readonly property bool currentShouldBeRoom: readonly property bool currentShouldBeRoom:
window.uiState.page === "Pages/Chat/Chat.qml" window.uiState.page === "Pages/Chat/Chat.qml"
readonly property string wantedUserId: readonly property string wantedUserId: