diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-03-11 16:30:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-11 16:30:55 +0100 |
commit | 53220d03cfa1b1fb47e0c980b1110934aaf2510b (patch) | |
tree | c176d33e773a7e16037c3086ed434ae4fa301341 /apps | |
parent | 8ad8280caba31e9267f11b9970498e0635d40173 (diff) | |
parent | 03d19f14a64592999998dea20571cae065cd17cf (diff) | |
download | nextcloud-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.php | 2 |
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" ) { |