aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBenjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>2023-11-14 18:09:32 +0100
committerGitHub <noreply@github.com>2023-11-14 18:09:32 +0100
commite90df6421a114e3bf74d011e2fc796278535f0c1 (patch)
treeeeab352e131b8bc54b0990623b6063d275544f10 /lib
parent93ea634de6717951d74a93fbcb5427dc0a6eb8bc (diff)
parent79d1e40894fc330dc48c45a5be0f2aa88d11836d (diff)
downloadnextcloud-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.php6
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);