Skip to content

Commit

Permalink
Switch accessibility menu icon
Browse files Browse the repository at this point in the history
Use one from material design icons and adjusted its view box
to fit the other icons' sizes.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
  • Loading branch information
PVince81 committed Sep 14, 2022
1 parent 239a19c commit 5427aaa
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 2 deletions.
43 changes: 43 additions & 0 deletions apps/theming/img/accessibility-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion lib/private/NavigationManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ private function init() {
'order' => 2,
'href' => $this->urlGenerator->linkToRoute('settings.PersonalSettings.index', ['section' => 'theming']),
'name' => $l->t('Appearance and accessibility'),
'icon' => $this->urlGenerator->imagePath('theming', 'app-dark.svg'),
'icon' => $this->urlGenerator->imagePath('theming', 'accessibility-dark.svg'),
]);
}
if ($this->isAdmin()) {
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/NavigationManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ public function providesNavigationConfig() {
'order' => 2,
'href' => '/apps/test/',
'name' => 'Appearance and accessibility',
'icon' => '/apps/theming/img/app-dark.svg',
'icon' => '/apps/theming/img/accessibility-dark.svg',
'active' => false,
'classes' => '',
'unread' => 0,
Expand Down

0 comments on commit 5427aaa

Please sign in to comment.