aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-03-11 16:30:55 +0100
committerGitHub <noreply@github.com>2024-03-11 16:30:55 +0100
commit53220d03cfa1b1fb47e0c980b1110934aaf2510b (patch)
treec176d33e773a7e16037c3086ed434ae4fa301341 /apps
parent8ad8280caba31e9267f11b9970498e0635d40173 (diff)
parent03d19f14a64592999998dea20571cae065cd17cf (diff)
downloadnextcloud-server-53220d03cfa1b1fb47e0c980b1110934aaf2510b.tar.gz
nextcloud-server-53220d03cfa1b1fb47e0c980b1110934aaf2510b.zip
Merge pull request #44119 from nextcloud/enh/noid/inverted-favicons
fix(theming): fix incorrectly inverted favicons
Diffstat (limited to 'apps')
-rw-r--r--apps/theming/lib/IconBuilder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/IconBuilder.php b/apps/theming/lib/IconBuilder.php
index 87a3de1024c..8d6546cdcce 100644
--- a/apps/theming/lib/IconBuilder.php
+++ b/apps/theming/lib/IconBuilder.php
@@ -181,7 +181,7 @@ class IconBuilder {
* invert app icons for bright primary colors
* the default nextcloud logo will not be inverted to black
*/
- if ($this->util->invertTextColor($color)
+ if ($this->util->isBrightColor($color)
&& !$appIcon instanceof ISimpleFile
&& $app !== "core"
) {