diff options
author | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2023-11-14 18:09:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-14 18:09:32 +0100 |
commit | e90df6421a114e3bf74d011e2fc796278535f0c1 (patch) | |
tree | eeab352e131b8bc54b0990623b6063d275544f10 /lib | |
parent | 93ea634de6717951d74a93fbcb5427dc0a6eb8bc (diff) | |
parent | 79d1e40894fc330dc48c45a5be0f2aa88d11836d (diff) | |
download | nextcloud-server-e90df6421a114e3bf74d011e2fc796278535f0c1.tar.gz nextcloud-server-e90df6421a114e3bf74d011e2fc796278535f0c1.zip |
Merge pull request #41432 from nextcloud/fix/white-user-icon-search
Fix search providers icons
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Search/SearchComposer.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/Search/SearchComposer.php b/lib/private/Search/SearchComposer.php index 0c465385a8c..b92fdd250d8 100644 --- a/lib/private/Search/SearchComposer.php +++ b/lib/private/Search/SearchComposer.php @@ -223,6 +223,12 @@ class SearchComposer { [$appId, 'app.svg'], ['core', 'places/default-app-icon.svg'], ]; + if ($appId === 'settings' && $providerId === 'users') { + // Conflict: + // the file /apps/settings/users.svg is already used in black version by top right user menu + // Override icon name here + $icons = [['settings', 'users-white.svg']]; + } foreach ($icons as $i => $icon) { try { return $this->urlGenerator->imagePath(... $icon); |