diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-09-14 11:24:11 +0200 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2022-09-14 15:05:35 +0200 |
commit | da01494a372c5b780ee76807325001afd1190b11 (patch) | |
tree | 41192ee5a919603534df3fea65750ffc0ff17a99 /apps/settings | |
parent | 7ea015f0d199e8637392921ea5938394f9b78e73 (diff) | |
download | nextcloud-server-da01494a372c5b780ee76807325001afd1190b11.tar.gz nextcloud-server-da01494a372c5b780ee76807325001afd1190b11.zip |
Add accessibility entry in user menu
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/settings')
-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'); } |