summaryrefslogtreecommitdiffstats
path: root/apps/theming
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2024-03-11 10:53:04 +0100
committerSimon L <szaimen@e.mail.de>2024-03-11 11:01:39 +0100
commit03d19f14a64592999998dea20571cae065cd17cf (patch)
tree9494ed29474d1b91e9914879d8e901dd6b1baefe /apps/theming
parent9b6424e5cacc5cdeccf24c4a65a1140916c55a01 (diff)
downloadnextcloud-server-03d19f14a64592999998dea20571cae065cd17cf.tar.gz
nextcloud-server-03d19f14a64592999998dea20571cae065cd17cf.zip
fix(theming): fix incorrectly inverted favicons
Signed-off-by: Simon L <szaimen@e.mail.de>
Diffstat (limited to 'apps/theming')
-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"
) {