diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-09-14 12:24:11 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2022-09-14 16:05:35 +0300 |
commit | da01494a372c5b780ee76807325001afd1190b11 (patch) | |
tree | 41192ee5a919603534df3fea65750ffc0ff17a99 /apps/settings/lib/Controller | |
parent | 7ea015f0d199e8637392921ea5938394f9b78e73 (diff) |
Add accessibility entry in user menu
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/settings/lib/Controller')
-rw-r--r-- | apps/settings/lib/Controller/CommonSettingsTrait.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/settings/lib/Controller/CommonSettingsTrait.php b/apps/settings/lib/Controller/CommonSettingsTrait.php index 942d07154c4..d5d004d8722 100644 --- a/apps/settings/lib/Controller/CommonSettingsTrait.php +++ b/apps/settings/lib/Controller/CommonSettingsTrait.php @@ -135,7 +135,11 @@ trait CommonSettingsTrait { private function getIndexResponse(string $type, string $section): TemplateResponse { if ($type === 'personal') { - $this->navigationManager->setActiveEntry('settings'); + if ($section === 'theming') { + $this->navigationManager->setActiveEntry('accessibility_settings'); + } else { + $this->navigationManager->setActiveEntry('settings'); + } } elseif ($type === 'admin') { $this->navigationManager->setActiveEntry('admin_settings'); } |