|
72 | 72 | } |
73 | 73 |
|
74 | 74 | // Global cross-domain stores (just references from `rootStore`) |
| 75 | + readonly property AppStores.AccountSettingsStore accountSettingsStore: rootStore.accountSettingsStore |
75 | 76 | readonly property AppStores.ContactsStore contactsStore: rootStore.contactsStore |
76 | 77 | readonly property AppStores.ActivityCenterStore activityCenterStore: rootStore.activityCenterStore |
77 | 78 |
|
@@ -823,10 +824,6 @@ Item { |
823 | 824 |
|
824 | 825 | readonly property int activeSectionType: appMain.rootStore.activeSectionType |
825 | 826 | readonly property bool isBrowserEnabled: featureFlagsStore.browserEnabled && localAccountSensitiveSettings.isBrowserEnabled |
826 | | - |
827 | | - property bool showUsersList: localAccountSensitiveSettings.expandUsersList |
828 | | - |
829 | | - onShowUsersListChanged: localAccountSensitiveSettings.expandUsersList = showUsersList |
830 | 827 |
|
831 | 828 | function openHomePage() { |
832 | 829 | appMain.rootStore.setActiveSectionBySectionType(Constants.appSection.homePage) |
@@ -1898,8 +1895,9 @@ Item { |
1898 | 1895 | ChatLayout { |
1899 | 1896 | id: chatLayoutContainer |
1900 | 1897 |
|
1901 | | - showUsersList: d.showUsersList |
1902 | | - onShowUsersListRequested: show => d.showUsersList = show |
| 1898 | + showUsersList: appMain.accountSettingsStore.showUsersList |
| 1899 | + onShowUsersListRequested: |
| 1900 | + show => appMain.accountSettingsStore.setShowUsersList(show) |
1903 | 1901 |
|
1904 | 1902 | isChatView: true |
1905 | 1903 | navBar: appMain.navBar |
@@ -2291,8 +2289,9 @@ Item { |
2291 | 2289 | } |
2292 | 2290 | } |
2293 | 2291 |
|
2294 | | - showUsersList: d.showUsersList |
2295 | | - onShowUsersListRequested: show => d.showUsersList = show |
| 2292 | + showUsersList: appMain.accountSettingsStore.showUsersList |
| 2293 | + onShowUsersListRequested: |
| 2294 | + show => appMain.accountSettingsStore.setShowUsersList(show) |
2296 | 2295 |
|
2297 | 2296 | isChatView: false // This will be a community view |
2298 | 2297 | navBar: appMain.navBar |
|
0 commit comments