fix(act-center): fix changing section when clicking go to settings

Fixes #5426
This commit is contained in:
Jonathan Rainville 2022-04-12 11:15:55 -04:00 committed by Iuri Matias
parent 6145b4b620
commit 31728940c4

View File

@ -78,7 +78,7 @@ Popup {
} }
onPreferencesClicked: { onPreferencesClicked: {
activityCenter.close() activityCenter.close()
Global.changeAppSection(Constants.profile, Constants.settingsSubsection.notifications); Global.changeAppSectionBySectionType(Constants.appSection.profile, Constants.settingsSubsection.notifications);
} }
onMarkAllReadClicked: { onMarkAllReadClicked: {
errorText = activityCenter.store.activityCenterModuleInst.markAllActivityCenterNotificationsRead() errorText = activityCenter.store.activityCenterModuleInst.markAllActivityCenterNotificationsRead()